receive chat events and http request and respond to chat
Configured with Chat, Chat Trigger, HTTP Request, Wait. Review the connections and setup before adapting this template.
Node categories in this workflow
- Trigger
- Web / API
- Transform
- Wait
- Routing
- Integration
- Code
Icons describe general node roles, inferred from node types. Inspect the parameters for the configured action.
Drag to pan; use + and − to zoom. Reconstructed from the exported node positions; nothing runs here. Dashed lines represent non-main connections. Full node names and notes appear below.
How it works
The exported workflow contains the following configured nodes. Their connections are shown above; inspect the JSON for the complete logic, expressions, and external actions.
| Node | Category | Type | Operation |
|---|---|---|---|
| When chat message received | Trigger | Chat Trigger | See node parameters |
| Create Thread | Web / API | HTTP Request | POST |
| Start Run | Web / API | HTTP Request | POST |
| Poll State | Transform | Edit Fields | See node parameters |
| Wait | Wait | Wait | See node parameters |
| Get run | Web / API | HTTP Request | See node parameters |
| If | Routing | If | See node parameters |
| Get Message | Web / API | HTTP Request | See node parameters |
| Set response | Transform | Edit Fields | See node parameters |
| If1 | Routing | If | See node parameters |
| Merge Thread ID | Transform | Edit Fields | See node parameters |
| Merge Thread ID1 | Transform | Edit Fields | See node parameters |
| Merge | Transform | Merge | See node parameters |
| Respond to Chat | Integration | Chat | See node parameters |
| Create payload | Transform | Edit Fields | See node parameters |
| Simple Thread Storage | Code | Code | See node parameters |
| Simple Thread Storage 2 | Code | Code | See node parameters |
| Set thread id | Transform | Edit Fields | See node parameters |
Setup
- Download the JSON and import it into an isolated n8n instance. Leave the workflow inactive.
- Connect your own credentials through n8n’s credential store. Replace
REPLACE_WITH_*values with your resource identifiers. - Inspect API destinations, Code nodes, database queries, file paths, and outbound actions.
- Run with synthetic data and harmless destinations. Enable triggers only after checking the actual outputs.
Requirements
An n8n instance with the listed node types and compatible versions. Service-connected workflows may require accounts, credentials, or paid APIs.
Credential types declared in the source
httpBasicAuth
Workflow notes
receive chat events and http request and respond to chat
receive chat events and http request and respond to chat
Purpose and structure
This folder contains the receive chat events and http request and respond to chat workflow. Its executable nodes use chat, chatTrigger, code, httpRequest, if, merge, set, wait. The table and connection map below are derived from the JSON, not an inferred guarantee of behavior.
Setup
Import inactive. Configure your own credentials and replace REPLACE_WITH_* values. Review external destinations and Code nodes before running.
Entry points
When chat message received
Verification
Sanitized source candidate; not runtime-tested. This overview is generated from node metadata. Read the folder README for the connection map, credential types, and license.
Attribution
https://github.com/blackbaddl13/r-KSODI-POC/blob/cbbe896ee41d933b114ddb8886c5a23d9b1bca89/n8n.json MIT; preserve source notices.