ZapGate icon

ZapGate

Interaja com a API ZapGate — WhatsApp gateway self-hosted

Actions1511

Inbox (painel) → Testar Regras

AI-generated

Summary

Test a rule against a sample payload using the selected ZapGate instance

Inputs

  • body (required) — JSON payload containing the rule configuration to evaluate, e.g., ruleId and sample data fields.

Output shape

a single JSON object containing the rule evaluation result

Returns the API response JSON; errors are thrown unless continueOnFail is enabled.

Examples

Example 1: Validate a rule with a sample message

Select operation 'Testar Regras', enter a JSON body with ruleId and sample data, run the workflow.

Example 2: Check rule matching for a WhatsApp text sample

Provide body JSON like { "ruleId": "welcome_rule", "sample": { "text": "Olá", "phone": "5511999999999" } }

Links

Discussion