Whazing icon

Whazing

Integração completa com a API Whazing

Actions107

Agendamento De Mensagem → Criar Agendamento

AI-generated

Summary

Creates a scheduled WhatsApp message (agendamento) for a specified phone number or group ID at a given date and time, with configurable message type (text, media, official template, or button message).

Inputs

  • number (required) — WhatsApp number in international format or group ID (e.g., "xxxxx@g.us"). Required to create the schedule.
  • scheduledAt (required) — Date and time when the scheduled message will be sent.
  • scheduleMessageType — Type of message content. Options: text, media, template, buttons. Default: text.
  • scheduleBody — Message body (or caption if media). Shown when scheduleMessageType is text or media.
  • scheduleSendMethod — Method to send media. Options: binary (input file) or URL. Shown when scheduleMessageType is media.
  • scheduleMediaUrl — URL of media file. Required when scheduleMessageType is media and scheduleSendMethod is URL.
  • scheduleBinaryPropertyName — Name of the binary property on the input item containing the file. Required when scheduleMessageType is media and scheduleSendMethod is binary.
  • scheduleTemplateName — Exact name of the approved template in Meta Business Manager. Required when scheduleMessageType is template.
  • scheduleTemplateLanguage — Language code for the template. Default: pt_BR. Shown when scheduleMessageType is template.
  • scheduleTemplateComponents — Template components (header, body, button) with parameters. Shown when scheduleMessageType is template.
  • scheduleButtonsText — Text displayed above the buttons. Required when scheduleMessageType is buttons.
  • scheduleChoices — Button choices, each with an ID and title. Shown when scheduleMessageType is buttons.

Output shape

object

Returns the raw response from the Whazing API's schedule creation endpoint, typically containing the created schedule's details (e.g., ID, number, scheduledAt, message type, status).

Examples

Example 1: Schedule a simple text message

Set number to a WhatsApp number, scheduledAt to desired date/time, scheduleMessageType to text (default), and scheduleBody to the message text.

Example 2: Schedule a media message via URL

Set scheduleMessageType to media, scheduleSendMethod to URL, scheduleMediaUrl to the media URL, scheduleBody to optional caption, and other required fields.

Links

Discussion