Citations enhance user trust by providing verifiable references to the data returned by AI agents. They consist of in-line verification links anchored to business objects (e.g., a User card or task record) displayed in the AI’s response. Citations are highly recommended whenever plugins return data to ensure transparency and reliability.


Where you configure citations depends on whether your conversational process uses an Action or a Compound Action.
When your conversational process calls an Action directly, configure citations in the output mapper of the action activity within the conversational process. The output mapper lets you add id and friendly_id fields to the action’s response data before it reaches the reasoning engine.

This approach is configured per-conversational process, so the same action can have different citation mappings in different plugins.
When to use which approach?
return statement. Any plugin that calls the compound action inherits the citation configuration automatically.Each citation object must include:
id (Required): A unique, string-based identifier for the business object.friendly_id(Optional): A human-readable string to describe the object.id is unique to avoid anchoring to unintended parts of the Assistant’s response (e.g., avoid generic IDs like “1” that may appear elsewhere, such as in “1 hour”).Use the result key to return a single citation object.
Say the output of action_result was:
To meet the citation schema it requires the id and friendly_id and using the MERGE function allows us to do that.
Use the results key to return multiple citation objects, processed with the MAP function to apply the citation schema to each item.
id. If the schema is invalid, data under result or results will be removed from the response. Verify using the DSL and Mapper Playground.id or friendly_id in its response. If the ID (e.g., TOP_10_COMPANY_PALO_ALTO) appears elsewhere (e.g., “View the top 10 companies in Palo Alto”), the citation may fail. Add instructions in the Plugin Result Instructions or plugin description to include the id or friendly_id verbatim.TASK-123).friendly_id values that are human-readable and descriptive (e.g., “Write Product Requirements” instead of “Task 1”).Single Object per Citation: Avoid creating multiple citations for the same business object to prevent user confusion.