Chatwoot fazer.ai icon

Chatwoot fazer.ai

Interact with the Chatwoot API

Actions134

Conversation → Send with Template

AI-generated

Summary

Send a WhatsApp template message in a Chatwoot conversation

Inputs

  • accountId (required) — Select the account to use.
  • inboxId (required) — Select the inbox to use.
  • conversationId (required) — Select the conversation to use.
  • templateName (required) — Select the WhatsApp template to use.
  • components — Template components with dynamic parameters.

Output shape

a single message object

Returns the created message details; may include id and status. No additional error envelope; failures are indicated by an error response.

Examples

Example 1: Send a greeting template to a specific conversation

accountId: 123, inboxId: 456, conversationId: 789, templateName: hello_world, components: [{"type": "header", "parameters": [{"type": "text", "text": "John Doe"}]}]

Example 2: Send a reminder template with a URL button

accountId: 101, inboxId: 202, conversationId: 303, templateName: reminder, components: [{"type": "button", "sub_type": "url", "index": 0, "buttonParameter": "https://example.com/reminder"}]

Example 3: Send a confirmation template using default components

accountId: 555, inboxId: 666, conversationId: 777, templateName: confirm, components: []

Links

Discussion