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

Agent Bot (Account) → Create

AI-generated

Summary

Create an agent bot in the selected Chatwoot account, configuring it as a webhook bot or a Typebot bot with optional trigger, expiration, ignored-target, and additional settings.

Inputs

  • Account (required) — Select an account from the list or enter its numeric ID.
  • Name (required) — Name of the agent bot.
  • Bot Type — Choose Webhook (default) or Typebot.
  • Outgoing URL (required) — For a Webhook bot, the URL where bot events will be sent.
  • Typebot API URL (required) — For a Typebot bot, the API URL of the Typebot instance.
  • Typebot Public Name (required) — For a Typebot bot, the public name identifier of the flow.
  • Trigger Type — Choose whether the Typebot triggers on all messages (default) or on a keyword.
  • Trigger Operator — For keyword triggering, choose how to match the trigger value; defaults to contains.
  • Trigger Value (required) — Keyword used when Trigger Type is Keyword.
  • Finish Keyword — Optional keyword for finishing the bot interaction.
  • Expire in Minutes — Optional expiration duration in minutes; defaults to 0.
  • Expiration Label — Optional label title to apply on expiration; choose from the list or enter its exact name.
  • Ignored Targets — Optional list of target values the bot should ignore.
  • Typebot API Token — Optional password field for the Typebot API token.
  • Default Delay Message — Optional Typebot default delay message duration; defaults to 0.
  • Debounce Time — Optional Typebot debounce time; defaults to 0.
  • Additional Fields — Optional avatar URL, description, and setting to make the bot ignore group conversations.

Output shape

A single created agent bot record returned by the API.

The selected bot type determines which configuration is sent. Type-specific fields are only shown for that type; keyword matching fields apply when Trigger Type is Keyword.

Links

Discussion