Automations · Nodes · action
Ask In-App Chat text
action.appchat_ask_text · action
Send a text prompt, wait for the visitor’s free-text reply, then continue with that text.
When to use
- Send a text prompt, wait for the visitor’s free-text reply, then continue with that text.
- Wrong-type inbound (button/location) uses Wait Mismatch onMismatch — free text that resumes is not a mismatch.
Configuration
| Field | Required | Notes |
|---|---|---|
| accountId | no | Channel account; leave empty to use context when available |
| bodyText | no | Message body; expressions allowed |
| text | no | Message body; expressions allowed |
| timeoutSeconds | no | Wait timeout in seconds (default 86400) |
| onMismatch | no | Wait Mismatch for wrong-type inbound: nudge | clarify | answer_then_remind | cancel_and_reroute |
| mismatchClarifyText | no | Clarify / custom text when onMismatch=clarify (expressions; {{vars.mismatchText}}) |
| mismatchMaxSideReplies | no | Cap AI side replies for answer_then_remind; then falls back to nudge-only |
Inputs
Upstream node output and execution context (contact, account, variables).
Outputs
After free-text resume: text, normalizedText, inboundMessageId, timedOut. On cancel mismatch: mismatchText / vars.mismatchText.
Execute step (editor)
| Eligible? | Notes |
|---|---|
| Disabled | Needs multi-branch or wait/resume context — use a full Test run. |
See Test, Execute, debug, listen and limitations.
Common errors
| Symptom | Cause | Fix |
|---|---|---|
| WAIT_MISMATCH_UNWIRED | onMismatch=cancel_and_reroute but mismatch port not connected | Wire mismatch → Brain / send / Run automation, or change onMismatch. |
| Send failed on Test/Run | Outside window, bad template, or missing contact | Use template outside window; ensure contact/account in context. |
| Execute succeeds but nothing delivered | Execute is dry-run for channel sends | Use full Test run / Run now. |
Example
Message-received trigger → Ask text → on out use {{nodes.ask1.text}}. Wrong-type inbound uses onMismatch.