Cortex icon

Cortex

Interact with Cortex API

Contact → AI Analysis

AI-generated

Summary

Generate AI analysis for a contact by specifying the contact UUID and the desired analysis type (general profile, last conversation only, or both).

Inputs

  • Contact ID (required) — The UUID of the contact to analyze.
  • Analysis Type — Type of AI analysis to generate: 'both' for general profile and last conversation, 'general' for general profile only, or 'last_conversation' for last conversation only (default is 'both').

Output shape

a JSON object containing the AI analysis results for the specified contact.

The operation always submits a POST request to the Cortex API with contact ID and the selected analysis type. Returns the API response directly, which may vary depending on the analysis type requested.

Examples

Example 1: Requesting both general profile and last conversation analysis for a contact.

Set 'Contact ID' to the target contact's UUID, and 'Analysis Type' to 'both' or leave as default.

Example 2: Requesting only the general profile analysis.

Set 'Contact ID' to the target contact's UUID, and 'Analysis Type' to 'general'.

Links

Discussion