Chat integrations
People can use agents from Slack, Microsoft Teams or Google Chat. Search2o provides the integration points; the bot that sits between a chat application and the agent server is written by your company. We are glad to help if you run into trouble.
- How a chat integration worksA person types a question in a chat thread. A bot finds the right agent, runs it, and posts the answer back in that thread.
- Connecting a personThe bot acts as a person, so the bot needs a token for that person. The person creates the token. A password never reaches the bot.
- Integration tokensAn integration token acts as its owner, limited to what any user may do. A person creates the token, holds it, and can revoke it.
- Finding an agentThe bot calls search with the person’s question. The call returns up to three agents, and two values that say what to do with them.
- Running an agentThe bot calls execAgent with the agent name and the person’s question. The question goes in inputs under the name query.
- Showing the answerAn answer is a list of parts. A part is text, HTML or an image.
- Slack, Teams and Google ChatWhat differs between Slack, Microsoft Teams and Google Chat: how the bot receives events, how a form is drawn, and what identifies a thread.
- Building a bot with an AI assistantThe API is small enough that an assistant can write most of a bot in one pass. What an assistant cannot do is guess the contract, and a wrong guess produces …

