← All N8N workflows
Messaging & emailCodeHTTP RequestSwitchTelegramTelegram Trigger

NeurochainAI Basic API Integration

Configured with HTTP Request, Switch, Telegram, Telegram Trigger. Review the connections and setup before adapting this template.

Workflow preview
TriggerTelegram TriggerTelegram TriggerCodeCodeCodeWeb / APIHTTP Request3HTTP RequestMessagingTelegram2TelegramMessagingTelegram1TelegramMessagingTelegram4TelegramMessagingTelegram3TelegramMessagingTelegram5TelegramMessagingTelegram6TelegramMessagingTelegram7TelegramWeb / APINeurochainAI - REST APIHTTP RequestMessagingTYPING - ACTIONTelegramMessagingAI ResponseTelegramMessagingNo responseTelegramMessagingPrompt too shortTelegramRoutingSwitch2SwitchCodeCode1CodeRoutingSwitchSwitchWeb / APINeurochainAI - FluxHTTP RequestRoutingSwitch1Switch

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.

Workflow node names, types, and operations
NodeCategoryTypeOperation
Telegram TriggerTriggerTelegram TriggerSee node parameters
CodeCodeCodeSee node parameters
HTTP Request3Web / APIHTTP RequestSee node parameters
Telegram2MessagingTelegramSee node parameters
Telegram1MessagingTelegramsendPhoto
Telegram4MessagingTelegramdeleteMessage
Telegram3MessagingTelegramSee node parameters
Telegram5MessagingTelegramdeleteMessage
Telegram6MessagingTelegramSee node parameters
Telegram7MessagingTelegramdeleteMessage
NeurochainAI - REST APIWeb / APIHTTP RequestPOST
TYPING - ACTIONMessagingTelegramsendChatAction
AI ResponseMessagingTelegramSee node parameters
No responseMessagingTelegramSee node parameters
Prompt too shortMessagingTelegramSee node parameters
Switch2RoutingSwitchSee node parameters
Code1CodeCodeSee node parameters
SwitchRoutingSwitchSee node parameters
NeurochainAI - FluxWeb / APIHTTP RequestPOST
Switch1RoutingSwitchSee node parameters

Setup

  1. Download the JSON and import it into an isolated n8n instance. Leave the workflow inactive.
  2. Connect your own credentials through n8n’s credential store. Replace REPLACE_WITH_* values with your resource identifiers.
  3. Inspect API destinations, Code nodes, database queries, file paths, and outbound actions.
  4. 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 /newbot command 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-HERE with 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.

More in Messaging & email