For the complete documentation index, see llms.txt. This page is also available as Markdown.

Using connected systems in Kaiya

Connect your account

You connect your own account from the Kaiya conversation.

Watch a one-minute walkthrough, or follow the steps below.

  1. In the Kaiya composer, select Connected apps (the icon beside the attachment button). A panel opens with the apps your administrator has turned on.

  2. Find the app. The panel lists the apps you have already connected under Connected, with a count. Below them, Recommended for you suggests up to four apps your teammates use that you haven't connected yet. When no teammate has connected anything, Available shows a few apps instead. Type in Search apps to look through every app.

  3. Select Connect on the app, and sign in to that system when it asks.

The Connected apps panel opened from the highlighted icon in the Kaiya composer, with Search apps, the Google Workspace suite with Connect all, Recommended for you with teammate counts, and Browse all 15 apps

Once an app is connected, it shows Connected. Point to it to see Disconnect, which removes your connection. When an app needs new permissions, it shows Reconnect: select it and sign in again.

To see every app, select Browse all at the bottom of the panel. The number shows how many apps you can connect. It opens the Connectors directory:

  • Categories (left): All apps, Connected, and a category for each kind of app: Communication, Productivity, Meetings, Files & storage, Engineering, Data, CRM, Your organization for the custom connectors your administrator added, and Other. Each shows how many apps it holds. Select one to narrow the grid.

  • Search connectors: finds an app by its name, its description, its suite or its category.

  • App cards (right): each card shows the app's name and either what it does or how many teammates use it, such as Used by 4 teammates. Teammate counts appear only when at least two teammates use an app. Each card has the same Connect, Disconnect and Reconnect actions as the panel.

The Connectors directory, with the category list highlighted on the left, Search connectors, the Suites and Recommended for you sections, and app cards grouped by category

Start with what your team uses. Recommended for you and the teammate counts show which apps your colleagues already work with in Kaiya. Connecting the same apps means you can ask the same kinds of questions, and use Missions and Apps that read from those systems.

A few systems ask for more when you sign in:

  • Notion asks you to choose your workspace and share the pages Kaiya may use. Kaiya sees only the pages you share.

  • Salesforce signs you in at login.salesforce.com, or at test.salesforce.com for a sandbox org.

Suites: Google Workspace and Microsoft 365

Google Workspace and Microsoft 365 are listed as separate products, such as Gmail, Google Drive and Google Calendar, or Outlook Mail, Outlook Calendar, Microsoft Teams, SharePoint and OneDrive. Your administrator chooses which products are turned on. Connect only the products you want Kaiya to use, one at a time.

For Google Workspace, the Suites section also shows how many of its products you have connected, and offers Connect all. Connect all asks for every turned-on Google product in a single sign-in. On Google's consent screen, any permission you untick leaves that product unconnected, and you can connect it later on its own. When every product is connected, the suite shows All connected.

Ask Kaiya about a connected system

Ask in plain words and name the system. For example:

  • "What's on my Google Calendar for the next three days?"

  • "Search Slack for recent messages about the product launch."

  • "List my open opportunities in Salesforce."

Reading from a connected system doesn't need your approval. Kaiya calls the system and answers. An answer that uses a connected system cites it, so you can see what was called and what came back.

Not sure what's connected? Open Connected apps in the composer, or ask Kaiya, "Which systems do I have connected?"

Make a change in a connected system

Kaiya can make changes for you, such as drafting or sending an email, creating a calendar event, posting to Slack or adding rows to a Snowflake table. In the conversation, Kaiya never makes a change without asking.

  1. Ask for the change, for example "Draft an email to the regional leads with these three numbers."

  2. Kaiya shows the exact change it is about to make: the account it will use, the action, and every value it will send. For an email, that means the recipient, the subject and the body. For a warehouse change, it shows the exact statement.

  3. Approve the change to run it, or decline it.

Keep in mind:

  • One approval covers one change. It runs once, exactly as shown. If anything differs from what you approved, nothing is sent and Kaiya asks again.

  • Approvals expire. An approval you don't use within a few minutes lapses.

  • Declining changes nothing. Kaiya tells you what was left unchanged and doesn't try again for that request.

  • Writes can be switched off. If Allow writes is off for a system, Kaiya can still read from it but doesn't offer to change anything there.

Use a connected system as an input step

Besides a SQL query against your data sources, a connected system can bring data into a Deep Insight, a Mission or an App. Kaiya calls the system and saves what comes back. The saved result becomes a step in the plan, and later steps read from it. Saving the result, rather than keeping it in the conversation, is what lets Kaiya work with a large set of records.

For example, a Mission can pull the open opportunity list from your CRM, and a later step can summarize that list or put it into an export.

Asking in the conversation or using an input step? Ask in the conversation when you need an answer once. Use an input step in a Deep Insight, Mission or App when the analysis works on a large set of records, or when a Mission should pull fresh data from the system every time it runs.

Connected systems in Deep Insights

A Deep Insight can read from connected systems as part of its analysis. For example, "Analyze pipeline trends and cross-reference them with Slack." See Deep Insight.

Connected systems in Missions

Missions can read from and write to your connected systems. A connected-system step sits in the Mission plan beside SQL and Python steps.

  • A read step pulls live data into the Mission every time it runs, and later SQL or Python steps can work on it. A read step only reads. If it finds no rows, it passes on an empty table and the run carries on.

  • A write step sends results out, for example by inserting rows into a Snowflake table, posting a message or creating a record. Each step card shows what was asked, the calls that were made and whether the write succeeded.

In the Mission plan, a step that uses a connected system carries a Connected System badge and a chip for each system it uses. The step card also shows whose connection the step uses, Runs as whoever runs the mission or Runs as the mission owner, and whether it can write: Read only or Can send and post.

The Mission owner sets this for each connected-system step in the Mission editor. Select Manage access on the step to open the Connected system access dialog:

  • Run as: keep Whoever runs the mission, the default, so the step uses the connection of the person running the Mission. Or choose Always followed by the owner's name, so the step always uses the owner's connection.

  • Allow it to send, post and create in these systems: turn this on to let the step write. It is off by default, so a new step only reads.

A step can never reach more than the Mission owner can.

Which Run as to choose? Keep Whoever runs the mission when each person should act through their own account, so the step sees and changes only what that person's account allows. Choose the owner's connection when the step must always use the owner's account, and plan for the owner to run the Mission, because in Tellius 6.4 that step stops when someone else runs it.

Describe connected-system steps in plain words, as you do any other Mission step. See How to create a Kaiya Mission.

Connected systems in Apps

Apps can read data from your connected systems and write back through buttons in the App.

  • Reading. An App can load data from a connected system while you build it. Building an App only reads. It doesn't change anything in the connected system.

  • Write buttons. A button in the App can make a change, such as creating a record or a calendar event. Before anything is sent, the person using the App sees the exact values that will be written and confirms. One confirmation sends one change, even if the button is clicked twice.

  • Buttons that use the author's account. A button can run under the account of the person who built the App. If that account's connection stops working, the button explains that the author needs to reconnect. Connecting your own account doesn't fix it.

  • When the outcome isn't known. If a change takes too long, the App says the outcome is unknown. Check the connected system before you try again.

See Kaiya Apps.

Connected systems from Slack and Teams

Each Slack or Teams thread with the Kaiya bot is a full Kaiya conversation. With a system connected for your account, Kaiya can also draft an email or create a calendar event from the thread. To set up the bot, see Slack Integration and Teams Integration.

When a system isn't available

  • Not connected. If you ask about a system you haven't connected, Kaiya asks you to connect it. It doesn't guess at an answer. Connect the system from Connected apps, then ask again.

  • Not in the list. An app appears only after your administrator turns it on and finishes its setup. If you can't find an app, ask your administrator.

  • Turned off. If your administrator turns a system off, Kaiya stops using it from your next message.

  • Not reachable. If a system can't be reached, Kaiya says so and answers from everything else it has.

Best practices

  • Name the system in your question. "Search my Slack" or "read my Snowflake" tells Kaiya exactly where to look.

  • Connect only the products you need. In a suite, connect the products you'll ask about rather than all of them, unless you use them all.

  • Allow writes only where your teams need them. Leave Allow writes off for systems people only read from.

  • Check each change before you approve it. The approval shows every value Kaiya will send, so read the recipient, the subject and the body before you say yes.

  • Talk to Tellius support before you build an OAuth app. It saves a second round of setup if the app type or scopes are wrong.

Last updated

Was this helpful?