Overview
n8n is an open-source workflow automation platform. Connect AIOKA to Telegram, Discord, Slack, email, or any webhook destination — without writing code. Tier: Basic ($49/mo) 🔒 Endpoint:GET /v1/integrations/zapier/signal
Poll interval: 5 minutes (respects 60s server-side cache)
Quick Start — Import the Template
The fastest way to get started is to import the pre-built workflow template.1
Download the workflow template
Download n8n-workflow.json and save it locally.
2
Open n8n and import
In your n8n instance:
- Go to Workflows in the sidebar
- Click + Add Workflow
- Click the ⋮ menu → Import from File
- Select the downloaded
n8n-workflow.json
3
Set your API key credential
The workflow uses an HTTP Request node with a header credential:
- Open the HTTP Request node
- Under Authentication, click Create New Credential
- Set Header Name:
X-API-Key - Set Header Value:
aik_basic_YOUR_KEY_HERE - Save the credential
4
Configure your Telegram bot (optional)
If you want Telegram alerts:
- Open the Telegram node
- Click Create New Credential
- Enter your Bot Token and Chat ID
- Customize the message template if desired
5
Activate the workflow
Toggle the workflow to Active. It will poll AIOKA every 5 minutes and send
a Telegram message whenever the verdict changes.
Manual Setup
If you prefer to build the workflow from scratch:1. Schedule Trigger
Add a Schedule Trigger node:- Trigger at: Every 5 minutes
2. HTTP Request — Fetch AIOKA Signal
Add an HTTP Request node:- Method:
GET - URL:
https://api.aioka.io/v1/integrations/zapier/signal - Authentication: Header Auth
- Name:
X-API-Key - Value:
aik_basic_YOUR_KEY
- Name:
3. Store Last Verdict ID
Add a n8n Static Data node (or a Set node writing to workflow static data):4. IF Node — Check for New Verdict
Add an IF node:False branch → Same verdict, stop
5. Update Stored ID
After the IF (true branch), add a Code node:6. Send Telegram Message
Add a Telegram node:- Operation: Send Message
- Chat ID:
YOUR_CHAT_ID - Text:
Response Fields Reference
Example: Discord Notification
Replace the Telegram node with a Discord node:- Operation: Send Message
- Message:
Example: Google Sheets Logging
Append every verdict change to a spreadsheet for historical tracking:- After the IF node (true branch), add Google Sheets → Append Row
- Map columns:
- A:
{{ $json.timestamp }} - B:
{{ $json.verdict }} - C:
{{ $json.confidence }} - D:
{{ $json.regime }} - E:
{{ $json.btc_price }} - F:
{{ $json.id }}
- A: