Crisp icon

Crisp

Interact with Crisp API - Complete integration with all available endpoints

Conversation → Send AI Review Request

AI-generated

Overview

This node operation sends an interactive picker widget message to a Crisp conversation, containing an AI-generated response for operator review. It allows operators to review, approve, edit, reject, or regenerate AI suggestions within the conversation context. This is useful for scenarios where AI-generated content needs human validation before being sent to customers, such as customer support or sales chatbots.

Use Case Examples

  1. Sending an AI-generated response to a customer support conversation for operator approval.
  2. Providing operators with options to edit or reject AI suggestions before sending them to the user.

Properties

Name Meaning
Website ID The website ID from the Crisp dashboard, identifying the Crisp website instance.
Session ID The session ID of the conversation where the AI review request will be sent.
AI Generated Response The AI-generated response text that will be presented to the operator for review.
Context Information Optional additional context information to provide more background to the operator reviewing the AI response.
Additional Fields Optional additional metadata fields such as email, first name, last name, phone, company, conversation state, blocking status, assignment, role, domain, and verification string to customize the conversation or operator context.

Output

JSON

  • type - Type of the message sent (picker) indicating an interactive picker widget
  • from - Sender of the message (operator)
  • origin - Origin of the message (chat)
  • content
    • id - Unique identifier for the AI review picker message
    • text - Text content of the AI review picker message including AI suggestion and context
    • choices - Array of choice options for the operator to select, each with value, label, icon, and callback action target
    • required - Indicates that a choice selection is required
  • stealth - Indicates the message is sent stealthily (not visible to the customer)

Dependencies

  • Crisp API with Basic Authentication using username and password credentials

Troubleshooting

  • Ensure the Website ID and Session ID are correct and correspond to an active Crisp conversation.
  • Verify that the API credentials have sufficient permissions to send messages to the conversation.
  • Check that the AI Generated Response is not empty, as it is required to create the picker message.
  • If the message fails to send, inspect the HTTP request and response for errors such as authentication failure or invalid parameters.

Discussion