YCloud Sequences icon

YCloud Sequences

Pre-built WhatsApp automation sequences: contact upsert, inbound routing, opt-in/out, onboarding, message status routing, tag campaigns and auto-responses.

Tag Campaign

AI-generated

Summary

Send a WhatsApp template message to all contacts tagged with a specified value, with options to filter unsubscribed contacts, add header media, and delay sending between messages to control rate limits.

Inputs

  • tag (required) — Tag to filter contacts; only contacts with this tag receive the campaign message.
  • fromPhone (required) — Your WhatsApp Business phone number registered in YCloud used as the sender.
  • templateName (required) — Name of the approved WhatsApp template to send to each contact.
  • templateLanguage (required) — Language code for the template message, e.g., pt_BR or en_US.
  • templateVarsJSON — JSON array string of body variable values to customize the template message, e.g., ["John", "Premium"].
  • campaignOptions — Optional settings including filtering unsubscribed contacts, header media URL or ID, and delay in milliseconds between sends to avoid rate limits.

Output shape

a single output containing an array of results, one per contact targeted

Each result includes the contact data, message send result or error, and flags indicating send success and the tag used. The operation handles multiple input items by processing them individually. Errors per contact are captured per result; overall workflow error handling depends on the node's continueOnFail setting.

Links

Discussion