MEGA icon

MEGA

Manage conversations, contacts, WhatsApp, Kanban CRM and Captain AI in MEGA

Actions417

Campaign → Create

AI-generated

Summary

Creates a campaign in the selected account using its required title and message, with optional audience, scheduling, sender, inbox, template, and trigger settings.

Inputs

  • Account (required) — Choose an account from the list or provide its numeric ID.
  • Title (required) — Campaign title.
  • Message (required) — Campaign message content.
  • Audience (JSON) — JSON array of audience objects with type and ID.
  • Description — Campaign description.
  • Enabled — Whether the campaign is enabled; defaults to true.
  • Inbox ID — ID of the inbox to send the campaign from.
  • Scheduled At — Date and time to schedule the campaign.
  • Sender ID — ID of the agent to send the campaign as.
  • Template Params (JSON) — JSON object containing template parameters.
  • Trigger Only During Business Hours — Whether to trigger the campaign only during business hours; defaults to false.
  • Trigger Rules (JSON) — JSON object containing campaign trigger rules.

Output shape

Not specified in the supplied source pack.

The source pack includes only the campaign operation function signatures, so it does not show the request or returned data shape.

Links

Discussion