Zammo Agents support custom analytics logging, allowing you to capture nearly any data present in the conversation—even if it’s not shown to the end user—such as API responses, Azure cost metrics, Q&A tags, and more.


✈️ Use Case Example: Flight Status Lookup

Let’s say you’ve built an agent that uses an external API to look up flight information. A user asks:

“What gate is flight AA123 departing from?”

The agent calls the API and retrieves a comprehensive set of flight details—including the gate number, airline name, flight number, departure time, arrival time, and more. While the chatbot may only display the gate information to answer the user’s question, you can configure the agent to log the full filtered response—capturing all the additional details in your custom analytics.

This allows you to track not just the specific answer shown to the user, but also the broader data returned by the API, providing deeper insight into the conversation and system behavior.


🛠 How to Enable Custom Analytics Logging

1. Open Agent Designer

Create or edit your agent in the Zammo Agent Designer.

2. Instruct the Agent in Natural Language

You can use plain language to configure custom logging. For example:

“Whenever we do the API call, log the filtered response.”

image.png


3. Review in the Advanced Tab

The configuration created can be viewed under the Advanced tab. Navigate to the Advanced tab and open the Analytics section.

You’ll see a new entry created under Custom Analytics.