NeurochainAI Basic API Integration
Configured with HTTP Request, Switch, Telegram, Telegram Trigger. Review the connections and setup before adapting this template.
Node categories in this workflow
- Trigger
- Code
- Web / API
- Messaging
- Routing
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 |
|---|---|---|---|
| Telegram Trigger | Trigger | Telegram Trigger | See node parameters |
| Code | Code | Code | See node parameters |
| HTTP Request3 | Web / API | HTTP Request | See node parameters |
| Telegram2 | Messaging | Telegram | See node parameters |
| Telegram1 | Messaging | Telegram | sendPhoto |
| Telegram4 | Messaging | Telegram | deleteMessage |
| Telegram3 | Messaging | Telegram | See node parameters |
| Telegram5 | Messaging | Telegram | deleteMessage |
| Telegram6 | Messaging | Telegram | See node parameters |
| Telegram7 | Messaging | Telegram | deleteMessage |
| NeurochainAI - REST API | Web / API | HTTP Request | POST |
| TYPING - ACTION | Messaging | Telegram | sendChatAction |
| AI Response | Messaging | Telegram | See node parameters |
| No response | Messaging | Telegram | See node parameters |
| Prompt too short | Messaging | Telegram | See node parameters |
| Switch2 | Routing | Switch | See node parameters |
| Code1 | Code | Code | See node parameters |
| Switch | Routing | Switch | See node parameters |
| NeurochainAI - Flux | Web / API | HTTP Request | POST |
| Switch1 | Routing | Switch | 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
telegramApi
Workflow notes
Code
Extract the URL from the previous node
SUCCESS
SUCCESS
This node will send the AI response directly to the Telegram chat.
HTTP REQUEST
HTTP REQUEST
Replace MODEL with the desired AI model from the NeurochainAI dashboard.
Replace YOUR-API-KEY-HERE with your actual NeurochainAI API key.
Models: Meta-Llama-3.1-8B-Instruct-Q8_0.gguf Meta-Llama-3.1-8B-Instruct-Q6_K.gguf Mistral-7B-Instruct-v0.2-GPTQ-Neurochain-custom-io Mistral-7B-Instruct-v0.2-GPTQ-Neurochain-custom Mistral-7B-OpenOrca-GPTQ Mistral-7B-Instruct-v0.1-gguf-q8_0.gguf Mistral-7B-Instruct-v0.2-GPTQ ingredient-extractor-mistral-7b-instruct-v0.1-gguf-q8_0.gguf
HTTP REQUEST
HTTP REQUEST
Replace MODEL with the desired AI model from the NeurochainAI dashboard.
Replace YOUR-API-KEY-HERE with your actual NeurochainAI API key.
Models: super-flux1-schnell-gguf flux1-schnell-gguf
Instructions for Using the Template
Instructions for Using the Template
Follow these steps to set up and use this template:
Create a Telegram Bot:
- Open Telegram and search for BotFather.
- Use the
/newbotcommand to create your bot. - Follow the prompts and copy the Token provided at the end.
Obtain a NeurochainAI API Key:
- Log in to the NeurochainAI Dashboard.
- Generate an API Key under the Inference As Service section.
- Ensure your account has sufficient credits for usage.
Configure Telegram Nodes:
- Locate all Telegram nodes in the workflow and add your Telegram Bot Token to each node's credentials.
Configure HTTP Request Nodes:
- Identify the NeurochainAI - Rest API and NeurochainAI - Flux nodes in the workflow. In each node:
- Enter your desired model in the Model field.
- Replace
YOUR-API-KEY-HEREwith your API Key in the headers or configuration section.
Save and Test:
- Save the workflow in N8N.
- Test the workflow by interacting with your Telegram bot to trigger text and image generation tasks.
NeurochainAI Basic API Integration
NeurochainAI Basic API Integration
Purpose and structure
This folder contains the NeurochainAI Basic API Integration workflow. Its executable nodes use code, httpRequest, switch, telegram, telegramTrigger. 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
Telegram Trigger
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/1631_HTTP_Telegram_Automation_Webhook.json MIT; preserve source notices.
Canvas section labels
These name areas of the original canvas; they do not include explanatory instructions.
- ERROR
- This node removes the /flux prefix.
- This node sends an emoji to indicate that the prompt is being processed.