Actions138
- API Key Actions
- Automation Rule Actions
- Call Actions
- Catalog Actions
- Channel Actions
- Chat Actions
- Contact Actions
- Group Actions
- Label Actions
- Media Actions
- Message Actions
- Observability Actions
- Presence Actions
- Profile Actions
- Session Actions
- Status Actions
- System Actions
- Template Actions
- Webhook Actions
Automation Rule → Create
AI-generatedSummary
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.