- Accessing live customer data e.g. recent orders for a given customer’s email address
- Accessing specific information about something e.g. all details about a specific Order ID
- Taking action e.g. refunding an order
Before Getting Started
Before you consider connecting your internal systems/data with your AI agent, be aware that you will very likely need a developer to help with this step. This is because you will be providing APIs (in most cases new ones) to your AI agent.1. User Data API: Get user information (using a verified customer email address)
When a customer is verified, by either emailing you from a known email address or the user is logged in on your system (and you’ve authenticated them with Zendesk, Intercom, etc.) then your AI agent can view the user’s verified email address. The AI agent will call a User Data API you provide and your API will return information about the user. The is perfect for returning information about a user, their recent orders, their account, subscription, current plan, etc. You can read more about the User Data API and its set up here:User Data API
2. Actions (Tools): Get specific information about something e.g. an order
Whether a customer is verified or not, you may want to allow them to ask about something that is in your back end data, for example, the status of a particular order. In this case, you would provide your AI agent with an API that can accept a zip/post code and an order ID and return the latest information about that order. The AI agent will call the API you provide and answer the user’s question with the content returned from your API. This is perfect for allowing un-verified users to ask about their account/orders or if you want to allow users to ask more about a specific piece of content in your system e.g. order, project, team, etc. We call these APIs “Tools” or “Actions”. You can read more about setting these up here:AI Actions (Tools)
If your API (Tool) is just fetching some information about something, it doesn’t need to be part of a Task (see more below).

