360 Dialog icon

360 Dialog

Consume 360 Dialog Whatsapp API

Actions2

Overview

The 360 Dialog - Send Message node allows you to send WhatsApp messages using the 360 Dialog API by leveraging pre-approved message templates. This node is ideal for automating customer notifications, alerts, confirmations, or any scenario where templated WhatsApp communication is required. For example, you can use it to send order confirmations, appointment reminders, or promotional messages to customers.

Properties

Name Type Meaning
API Key String API key for authenticating requests to the 360 Dialog API.
Templates Name String The name of the WhatsApp message template to use (must match a template in your account).
Recipient String The WhatsApp ID of the recipient who will receive the message.
Additional Fields Collection Optional fields to customize the message content:
  Body Text Message String The body text(s) for the template. Use `
  Header Images String URL(s) for header images. Use `
  Button URL String URL(s) for template buttons. Use `

Output

The node returns a JSON object with the response from the 360 Dialog API after sending the message. The structure typically includes:

{
  "messages": [
    {
      "id": "wamid.HBgMNTg1...=="
    }
  ]
}
  • If an error occurs and "Continue On Fail" is enabled, the output will include an error field with the error message.
  • No binary data is produced by this node.

Dependencies

  • External Service: Requires access to the 360 Dialog WhatsApp API.
  • API Key: You must provide a valid API key for authentication.
  • n8n Configuration: No special configuration beyond standard n8n setup and internet access.

Troubleshooting

Common Issues:

  • Template Not Found:
    Error: Template "<name>" is not found!
    Solution: Ensure the template name matches exactly as defined in your 360 Dialog account.

  • Missing Required Fields:
    Errors such as:

    • The Images URL is required
    • The Body Text Message is required
    • The Button URL is required
      Solution: Make sure all required fields for your chosen template are provided in the "Additional Fields" section.
  • Incorrect Number of Values:
    Errors like:
    Images on Template need X image URL value, but given Y URL value, please check the Image URL
    Solution: Provide the exact number of values required by the template, separated by |.

  • Invalid API Key:
    If authentication fails, verify that your API key is correct and active.

Links and References


Tip: Always ensure your message template is approved and matches the parameters you provide. Double-check the number and type of variables required by your template.

Discussion