n8n
The TimelinesAI nodes for n8n let your workflows work with your TimelinesAI workspace. They can send WhatsApp and WABA messages, manage chats in the shared inbox, and start on TimelinesAI events, with no code. The package has two nodes:Install
1
Open Community Nodes
In a self-hosted n8n, go to Settings → Community Nodes → Install.
2
Install the package
Enter
@timelines-ai/n8n-nodes-timelinesai and confirm.3
Find the nodes
Search for TimelinesAI in the nodes panel.
Connect your workspace
1
Copy your API token
In app.timelines.ai, go to Integrations → Public API and copy the token. See Authentication.
2
Create the credential
In n8n, create a TimelinesAI API credential and paste the token. Keep the default Base URL.
3
Test it
Click Test. The node checks the token against your workspace.
Your first workflow
Reply to incoming WhatsApp messages automatically:- Add TimelinesAI Trigger and select the event New Incoming Message.
- Add TimelinesAI with Message → Send to Chat.
- Set Chat to By ID with the expression
{{ $json.chat.chat_id }}. - Enter your reply text.
- Set Chat to By ID with the expression
- Activate the workflow. TimelinesAI starts sending events to it straight away, and the subscription is removed when you deactivate the workflow.
Good to know
- Webhook limit: each event you select in the trigger uses one of the workspace’s webhooks. Workspaces have 10 by default.
- Sending rate: space WhatsApp messages out by about 2 seconds. For bulk sends, use Loop Over Items with a Wait node. See Rate limits.
- WABA service window: free text only works within 24 hours of the contact’s last message. Outside that window, send an approved template (Message Type: Template).
- Inviting teammates: by default, Invite Teammate refuses an email that already belongs to a teammate, because the API would change that teammate’s role instead.
The node’s GitHub repository has the full list of operations and ready-to-import example workflows: an AI Agent auto-reply, WABA templates for form leads, logging closed chats to Google Sheets, and Slack alerts for disconnected accounts.

