Outlook
Adding support for recieving and responding to Outlook emails.
What does the Outlook integration do?
The Outlook integration allows your agent to emails that are received to a specific Outlook account. For customer support agents that handle email equiries, we recommend setting up a dedicated email account for them, much like you would for a human employee.
How to connect your agent to Outlook?
In the agent settings page, you can add Outlook as a trigger by clicking on the Outlook button under “Integrations > Triggers”, and following the process to connect your Outlook account.
After that, you can choose whether or not you want to filter emails that are sent to your agent from your Outlook account. Without a search filter, your agent will receive every single email that is sent to your connected account.
Filter options
If you don’t add a search filter, your agent will receive every email that is sent to the connected Outlook account, which might be what you want if your agent has a dedicated email account.
Below is a table of different search filters you can use, which is also how you filter emails in your Outlook search field. Full docs for this can be found in Microsoft’s Search Query Parameter page:
This is how you would use them in the Relevance Filter emails by search field:
- “subject: ask us anything” - The subject line contains the phrase “ask us anything”.
- “body: book a demo” - The body of the email contains the phrase “book a demo”.
- “from:*apple.com” - Only emails sent from the apple.com domain.
- ”hasAttachments: true” - Only emails that have attachments.
- ”received: 07/23/2018” - Only emails received on this date.
How to respond to emails received from Outlook?
Once your agent has started receiving emails (it can take up to half an hour for the first one to come through), you can build a tool that uses the built-in “Send Email (Outlook)” tool to get your agent to start responding to them.
Once you have created this tool, equip your agent with it by opening your agent settings, clicking on “Tools” -> “Add tools”, then search for the send email tool you created and add it.
We recommend setting the tool permissions to “approval mode” so that your agent always asks for permission before it sends a message to your customers. You can set it to autopilot once you’re happy with how it responds, which will usually take a few rounds of prompt iteration.
Tell your agent how it should respond
Once your agent is receiving emails, and has been equipped with your custom “Send email” tool, it’s time for you to tell your agent how you want it to respond. You can do this by writing a prompt in the “core instructions” section of your agent settings.
This is an example of a prompt that guides our agent to handle customer questions over email, using four custom tools we built:
You can use the ”/” command to reference specific tools you want your agent to use within your prompt.
This entire FAQ follow-up email agent is available for you to clone as a template, or build from scratch here.
How to remove the integration?
You can remove the Outlook integration by opening your agent settings, clicking the 3 dots menu next to your connected Outlook trigger, and clicking “Remove”. Once you’ve done that, your agent will no longer receive emails.
Was this page helpful?