Ask AI about your Meta Ads - ask questions about your Facebook Ads insights
Needs changesWhat this workflow does
This AI workflow has 14 nodes and runs on Telegram events (plus 2 other triggers). Along the way it connects OpenAI Chat Model, HTTP Request and Telegram.
How it runs
Trigger: On Telegram events (plus 2 other triggers).
- Filter: keeps only the items that match a condition
- Set sessionId (Edit Fields (Set)): sets or maps fields
- Chat Memory Manager: uses Chat Memory Manager, with memory: Chat Memory
- AI Agent: runs an AI agent, with model: OpenAI Chat Model; 3 tools (Calculator, Clean Memory, Meta Ads Insights); memory: Chat memory
- Send message (Telegram): uses Telegram
Services it uses
Before you upgrade to n8n 3.0
2 things in this workflow are removed in n8n 3.0. Fix them before you upgrade:
- AI Agent v1 (old agent modes) in AI Agent (v1.7): replace with Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent.
- HTTP Request Tool (legacy) in Meta Ads Insights: replace with HTTP Request node connected to the AI Agent's Tool input.
Rather not rewrite it? Many of these flows can be rebuilt in Make (free plan).
| Removed in 3.0 | Replace with |
|---|---|
| AI Agent v1 (old agent modes) AI Agent (v1.7) | Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent. |
| HTTP Request Tool (legacy) Meta Ads Insights | HTTP Request node connected to the AI Agent's Tool input |
Nodes used (13)
- AI Agent
@n8n/n8n-nodes-langchain.agent - OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi - Chat Trigger
@n8n/n8n-nodes-langchain.chatTrigger - Calculator
@n8n/n8n-nodes-langchain.toolCalculator - HTTP Request Tool
@n8n/n8n-nodes-langchain.toolHttpRequest - Telegram Trigger
n8n-nodes-base.telegramTrigger - Filter
n8n-nodes-base.filter - Edit Fields (Set)
n8n-nodes-base.set - Simple Memory
@n8n/n8n-nodes-langchain.memoryBufferWindow - Telegram
n8n-nodes-base.telegram - Chat Memory Manager
@n8n/n8n-nodes-langchain.memoryManager - Call n8n Workflow Tool
@n8n/n8n-nodes-langchain.toolWorkflow - Execute Workflow Trigger
n8n-nodes-base.executeWorkflowTrigger
From the author
Chat with an AI and ask questions about your Meta Ads metrics. Get key metrics like impressions, spend, reach, conversions, CTR, CPC… you name it. Who is this template for? Marketing professionals who want an AI assistant to analyze their Meta Ads data. You…