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. Instruct the Agent in Natural Language

In Agent Designer, you can use plain language to configure custom logging. For example:

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

image.png

2. Launch the Agent

Use the Test bot or Simulator to run the experience and ask for flight information.

image.png