The workflow JSON
Copy or download the full n8n JSON below. Paste it into a new n8n workflow, add your credentials, activate. Full import guide →
{
"name": "Lemanti - Fluxo Completo com WhatsApp, Gmail, AI Agent",
"nodes": [
{
"parameters": {},
"id": "1",
"name": "Start",
"type": "n8n-nodes-base.start",
"typeVersion": 1,
"position": [
240,
300
]
},
{
"parameters": {
"url": "https://api.openai.com/v1/chat/completions",
"method": "POST",
"authentication": "none",
"responseFormat": "json",
"jsonParameters": true,
"options": {},
"bodyParametersJson": "{\"model\": \"gpt-4o\", \"messages\": [{\"role\": \"system\", \"content\": \"Voc\\u00ea \\u00e9 um vendedor da Lemanti.\"}, {\"role\": \"user\", \"content\": \"Crie uma mensagem profissional apresentando a empresa Lemanti para um lead interessado em {{interesse}}, da empresa {{empresa}}. Convide-o para conhecer nosso cat\\u00e1logo e solu\\u00e7\\u00f5es.\"}]}"
},
"id": "2",
"name": "ChatGPT - Criar Mensagem",
"type": "n8n-nodes-base.httpRequest",
"typeVersion": 1,
"position": [
500,
300
]
},
{
"parameters": {
"url": "https://graph.facebook.com/v17.0/YOUR_PHONE_ID/messages",
"method": "POST",
"authentication": "headerAuth",
"headerParameters": {
"parameters": [
{
"name": "Authorization",
"value": "Bearer YOUR_ACCESS_TOKEN"
},
{
"name": "Content-Type",
"value": "application/json"
}
]
},
"responseFormat": "json",
"jsonParameters": true,
"bodyParametersJson": "{\"messaging_product\": \"whatsapp\", \"to\": \"{{telefone}}\", \"type\": \"text\", \"text\": {\"body\": \"{{ $json[\\\"mensagemGerada\\\"] }}\"}}"
},
"id": "3",
"name": "Enviar Mensagem WhatsApp",
"type": "n8n-nodes-base.httpRequest",
"typeVersion": 1,
"position": [
750,
300
]
},
{
"parameters": {
"input": "Mensagem recebida do lead: '{{mensagem}}'. Essa resposta demonstra interesse? Responda apenas com 'Sim' ou 'N\u00e3o'.",
"agentId": ""
},
"id": "4",
"name": "AI Agent - Verifica Interesse",
"type": "n8n-nodes-base.aiAgent",
"typeVersion": 1,
"position": [
1000,
300
]
},
{
"parameters": {
"input": "Empresa: {{empresa}}, Interesse: {{interesse}}, Regi\u00e3o: {{regiao}}. Escolha o vendedor ideal com base no perfil."
},
"id": "5",
"name": "AI Agent - Escolhe Vendedor",
"type": "n8n-nodes-base.aiAgent",
"typeVersion": 1,
"position": [
1250,
300
]
}
],
"connections": {
"Start": [
{
"node": "ChatGPT - Criar Mensagem",
"type": "main",
"index": 0
}
],
"ChatGPT - Criar Mensagem": [
{
"node": "Enviar Mensagem WhatsApp",
"type": "main",
"index": 0
}
],
"Enviar Mensagem WhatsApp": [
{
"node": "AI Agent - Verifica Interesse",
"type": "main",
"index": 0
}
],
"AI Agent - Verifica Interesse": [
{
"node": "AI Agent - Escolhe Vendedor",
"type": "main",
"index": 0
}
],
"AI Agent - Escolhe Vendedor": []
},
"settings": {},
"tags": [],
"versionId": "1",
"id": "lemanti-fluxo-completo"
}
For the full experience including quality scoring and batch install features for each workflow upgrade to Pro
About this workflow
Lemanti - Fluxo Completo com WhatsApp, Gmail, AI Agent. Uses start, httpRequest, aiAgent. Manual trigger; 5 nodes.
Source: https://github.com/thecaio26/lemanti-n8n-fluxos/blob/2668253834db6ed5a6af7c6398ba18fa612a59f7/lemanti-fluxo-completo.json — original creator credit. Request a take-down →
Related workflows
Workflows that share integrations, category, or trigger type with this one. All free to copy and import.
Ejemplos de Expresiones. Uses start, httpRequest. Manual trigger; 5 nodes.
Model Onboarding Flow. Uses start, telegramTrigger, googleSheets, httpRequest. Event-driven trigger; 4 nodes.
Lead to AI Call - SniperThink. Uses httpRequest. Manual trigger; 6 nodes.
OMNIKAI - Tor Integration Agent. Uses start, executeCommand. Manual trigger; 5 nodes.
Pull a Dun & Bradstreet Business Information Report (PDF) by DUNS, convert the response into a binary PDF file, extract readable text, and use OpenAI to return a clean, flat JSON with only the key fie