Automations · Nodes · logic
Wait for media
logic.wait_for_media · logic
Pause until the contact sends an image or document. Free text and interactive taps do not resume.
When to use
- Wait Mismatch v1 does not cover media waits — unexpected inbound keeps prior media-wait behavior (not full onMismatch policies).
- Use when you need: Pause until the contact sends an image or document. Free text and interactive taps do not resume.
Configuration
| Field | Required | Notes |
|---|---|---|
| channelType | no | whatsapp or appchat |
| accountId | no | Channel account; leave empty to use context when available |
| timeoutSeconds | no | Wait timeout in seconds (default 86400) |
Inputs
Upstream node output and execution context (contact, account, variables).
Outputs
Node result fields are available to downstream expressions. Check the Output tab after Execute or a full run.
Execute step (editor)
| Eligible? | Notes |
|---|---|
| Yes | Runs the node handler with current Input. |
See Test, Execute, debug, listen and limitations.
Common errors
| Symptom | Cause | Fix |
|---|---|---|
| Step failed | Missing context or invalid config | Check required fields, pins, and Executions error + Suggested action. |
Example
Place after a trigger or prior action; configure parameters; Test run the draft.