Connect Snippets and Additional Sources

Updated on May 10, 2024

Snippets and additional source settings are currently in beta and may not be available to all customers. Please note that the integration process may not be smooth or stable, and the integrated content may be in an unrefined form.

Snippets #

Snippets are shorter than documents and hold data from third-party services that you’ve connected to in the ‘Additional sources’ settings. You can see the data in the Knowledge Base > Snippets menu as shown above, and you can utilize the accumulated snippets as input for this LLM app using the Input node. You can see the third-party services that can be integrated below.

Additional Sources #

In this tab, you can integrate content from Notion, Github, Slack, Google Calendar, Jira, and Gmail into your knowledge base, with many more pending, so if there’s a third-party service you need to integrate, please request it.

Notion #

You can link your Notion account to import articles into the Articles tab of your knowledge base. Click the Integrate button and log in to the account you want to integrate. Then select the pages you want to integrate. After a few moments, the ‘Recent integration status’ will be marked as successful and the integration will be complete. Please note that depending on the amount of articles you have selected, it may take a long time to load them into your knowledge base. After the initial integration, all pages selected as part of the integration scope are loaded, and then updated content is fetched every hour.

Github #

You can integrate your Github account and repository to import articles into the Articles tab of your knowledge base. First, hit the Integrate button, log in with your account, and allow permissions.

You can then add the desired repository name to the repository list, and all articles below it will be imported. After the initial integration, it will fetch any added/updated content every hour. Please note that depending on the amount of articles, syncing to the knowledge base can take a long time.

Google Calendar #

You can integrate your Google account to import calendar events into the Snippets tab of your knowledge base. Hit the Integrate button, sign in with your account, and allow permissions. Once the integration is complete, it will use the day before as a starting point and pull in calendar events (all calendars you are subscribed to) since then. After the initial integration, it will synchronize new added/renewed events every hour. The details are as follows:

  • summary: Event title
  • description: Detailed description
  • location: Location
  • attendees: Attendees
  • start: Start time
  • end: End time

Jira #

You can integrate your JIRA account to import tickets into the Snippets tab of your knowledge base.Click the Integrate button, log in with your account, and allow permissions. Once the integration is complete, all tickets will be imported, and new tickets will be added every hour after the initial integration. The details are as follows:

  • key: Ticket number (ABC-123, etc.)
  • summary: Ticket title
  • description: Ticket description body

Gmail #

You can integrate your Google account to bring Gmail content into the Snippets tab of your knowledge base. Click the Integrate button, sign in with your account, and allow permissions. Once the integration is complete, your mail (sent and received) will be imported from the day before the initial integration to the time of the integration. After the initial integration, new mail will be synchronized every hour. The details are as follows:

  • sender: Sender
  • recipients: Recipients
  • date: Date the email was sent/received
  • subject: Subject

Slack: Temporarily disabled, will resume in the future #

You can integrate Alli with your Slack channel to pull messages into the Snippets tab of your knowledge base. There are two main steps

  1. Add the Alli app to your workspace
  2. Integrate Alli with your favorite channels

From the Apps section of Slack’s left-hand navigation, click the “Add app” button. Select Alli (Alli data snippet integration) and integrate it with your workspace.

Then, return to the Alli dashboard and click the Integrate button in the Slack section of the Additional sources settings. Allow the permission request and the first integration is complete.

Next, enter the channel you’d like to integrate with, but make sure to add and save the channel ID, not the channel name. The channel ID is located at the bottom of the Slack channel screen when you click “Get channel details”.

Finally, add (invite) the Alli app to that channel.

Now you’re all set. Messages from the linked channel will be stacked in the Snippets menu in your knowledge base. Here are the details that are extracted in a snippet

  • timestamp: the time the message was created (in UTC+0)
  • username: The user who uttered the message
  • message: message content

After the initial integration fetches all messages from that channel, it will fetch new messages added every hour, and deleted and edited messages will not be synchronized. Please note that chronological sorting of messages is not currently available and will be implemented in the future.

Common Other Things to Know #

  • If the integration fails, you’ll need to disconnect and reconnect.
  • Even if the integration status shows as successful, it can take some time for all of your content to be imported into the knowledge base.
  • After the initial integration, each additional integration cycle is one hour, and the last integration time is not updated if there is no content to update.