OpenWA icon

OpenWA

Interact with OpenWA WhatsApp API Gateway

Actions138

Automation Rule → Create

AI-generated

Summary

Create an OpenWA gateway automation rule that replies to matching inbound message events, even when the n8n workflow is not running.

Inputs

  • Session Name or ID (required) — Select the OpenWA session or provide its ID.
  • Name (required) — Display name for the rule, up to 100 characters.
  • Reply Text (required) — Text the gateway sends when the rule matches, up to 4096 characters.
  • Conditions — Optional JSON filter using the webhook filter shape. All conditions must match; leave empty to answer every inbound message.
  • Cooldown (Seconds) — Optional quiet period per chat after a reply, from 0 to 86400 seconds; defaults to 60 seconds.
  • Enabled — Whether the rule is active; defaults to true.

Output shape

A single item containing the gateway API response for the created rule.

The rule runs on the gateway and only evaluates message events. It does not use n8n workflow logic; configure conditions to filter which inbound messages it answers.

Links

Discussion