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.

Auto Responder

AI-generated

Summary

Evaluate contact tags or attributes against configured rules for each incoming WhatsApp message and send the corresponding approved WhatsApp template as an automatic response.

Inputs

  • From Phone Number (required) — Your WhatsApp Business phone number registered in YCloud, used as the sender for responses.
  • Message Object Field — Field in the input item containing the WhatsApp message object (default: 'whatsappInboundMessage').
  • Response Rules (required) — An ordered list of rules; each rule specifies a condition type (contact has tag, contact attribute equals a value, or always match fallback), the matching tag or attribute details, and the WhatsApp template (name, language, and optional JSON array of body variables) to send when the rule matches.
  • Options — Collection of options including whether to filter unsubscribed contacts (default true) and whether to send the response as a reply to the inbound message (default false).

Output shape

Two arrays of items: 'Matched' containing messages where a rule matched and a template was sent, and 'No Match' containing items where no match was found or sender phone was missing.

Each output item includes the original data, contact details when matched, the applied rule type, and any relevant response or error information. The operation uses YCloud API to look up contacts by sender phone from the incoming message and send WhatsApp templates accordingly.

Links

Discussion