Line Chatbot Handling AI Responses with Groq and Llama3
Configured with HTTP Request, Webhook. Review the connections and setup before adapting this template.
Node categories in this workflow
- Trigger
- Transform
- Web / API
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 |
|---|---|---|---|
| Line: Messaging API | Trigger | Webhook | See node parameters |
| Get Messages | Transform | Edit Fields | See node parameters |
| Groq AI Assistant | Web / API | HTTP Request | POST |
| Line: Reply Message | Web / API | HTTP Request | POST |
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
httpHeaderAuth
Workflow notes
Line AI Chatbot with Groq
Line AI Chatbot with Groq
This workflow automates the process of handling messages from Line Messaging API by sending message to Groq as your AI assistant and reply back to you. In this workflow, you can see that there is no JSON error when sending long and complex message.
LINE Messaging API
LINE Messaging API
Get the access token from Line Business https://manager.line.biz/
Get Message
Get Message
Get message from Line account.
Groq API Key
Groq API Key
Apply Groq account and get API key then you should set max_completion_tokens less than 5000 because of Line message limitation
Reply message
Reply message
Use replyToken from Line messaging API and use choices[].message.content to reply to you.
Line Chatbot Handling AI Responses with Groq and Llama3
Line Chatbot Handling AI Responses with Groq and Llama3
Purpose and structure
This folder contains the Line Chatbot Handling AI Responses with Groq and Llama3 workflow. Its executable nodes use httpRequest, set, webhook. 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
Line: Messaging API
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/Zie619/n8n-workflows/blob/94007c1445d9258a7da116646b79473e7c7c3282/workflows/Http/2019_HTTP_Stickynote_Automate_Webhook.json MIT; preserve source notices.