MEGA (Legacy) icon

MEGA (Legacy)

Legacy type ID of the MEGA node, kept so existing workflows keep running. Use @clubmega/n8n-nodes-mega.mega in new workflows; both types have the same parameters.

Actions408

Message Template โ†’ Create

AI-generated

Summary

Creates a new message template in Chatwoot for the selected account.

Inputs

  • accountId (required) โ€” Select the Chatwoot account to use. Can be chosen from a list or entered by ID.
  • name (required) โ€” Name of the template (lowercase, underscores only).
  • category (required) โ€” Category of the template. Options: AUTHENTICATION, MARKETING, UTILITY (default: UTILITY).
  • language (required) โ€” Language code for the template (e.g. en_US, es, pt_BR).
  • content (required) โ€” Template content as a JSON object matching the WhatsApp template structure.
  • additionalFields โ€” Optional additional settings for the template. Contains subโ€‘fields: channel_type (string, default 'Channel::Whatsapp'), inboxId (resource locator, optional), parameter_format (options: NAMED or POSITIONAL, default POSITIONAL), status (options: APPROVED, PENDING, REJECTED, default APPROVED).

Output shape

object

Returns the created message template object as provided by the Chatwoot API, typically including the template ID and the supplied fields.

Links

Discussion