Chat icon

Chat

Interact with the Chat API

Actions253

Actions (contact/conversation) → Perform

AI-generated

Summary

Perform a defined action on a conversation within the selected account, optionally sending a body or targeting specific IDs.

Inputs

  • accountId (required) — Select the account to use; can be chosen from a list or provided as a numeric ID.
  • actionName — Name of the action endpoint to invoke (e.g., contact_merge).
  • targetIds — Comma‑separated IDs or JSON array identifying the conversation or other context for the action.
  • rawJson — Optional raw JSON body to send as the request payload.

Output shape

JSON object returned by the action endpoint; may be empty if the operation only signals success/failure.

The exact structure depends on the selected action; pagination or error envelopes are not defined in the node.

Examples

Example 1: Send a tailored message to a conversation using a custom JSON payload.

accountId: selected from list; actionName: sendMessage; targetIds: conversation ID; rawJson: {"text":"Hello"}

Example 2: Merge two contacts using the merge action.

accountId: selected; actionName: contact_merge; targetIds: "123,456"; rawJson: {}

Links

Discussion