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": "Excalibur \u2014 Fluxo Completo",
"nodes": [
{
"parameters": {
"path": "lead-novo",
"httpMethod": "POST",
"responseMode": "onReceived"
},
"name": "Webhook Lead Novo",
"type": "n8n-nodes-base.webhook",
"typeVersion": 1,
"position": [
250,
200
]
},
{
"parameters": {
"method": "POST",
"url": "https://api.anthropic.com/v1/messages",
"sendHeaders": true,
"headerParameters": {
"parameters": [
{
"name": "x-api-key",
"value": "={{ $env.ANTHROPIC_API_KEY }}"
},
{
"name": "anthropic-version",
"value": "2023-06-01"
},
{
"name": "content-type",
"value": "application/json"
}
]
},
"sendBody": true,
"specifyBody": "json",
"jsonBody": "{\n \"model\": \"claude-sonnet-4-20250514\",\n \"max_tokens\": 512,\n \"system\": \"Voc\u00ea \u00e9 o HEAD do Excalibur. Um novo lead chegou. Analise e sugira: 1) categoria de resposta r\u00e1pida ideal, 2) prioridade do lead, 3) pr\u00f3xima a\u00e7\u00e3o. Responda em JSON.\",\n \"messages\": [{\"role\": \"user\", \"content\": \"Novo lead: {{ JSON.stringify($json) }}\"}]\n}"
},
"name": "Claude Analisa Lead",
"type": "n8n-nodes-base.httpRequest",
"typeVersion": 3,
"position": [
500,
200
]
},
{
"parameters": {
"method": "POST",
"url": "https://hluhlsnodndpskrkbjuw.supabase.co/rest/v1/insights_ia",
"sendHeaders": true,
"headerParameters": {
"parameters": [
{
"name": "apikey",
"value": "={{ $env.SUPABASE_ANON_KEY }}"
},
{
"name": "Authorization",
"value": "Bearer {{ $env.SUPABASE_ANON_KEY }}"
},
{
"name": "Content-Type",
"value": "application/json"
},
{
"name": "Prefer",
"value": "return=minimal"
}
]
},
"sendBody": true,
"specifyBody": "json",
"jsonBody": "{\n \"tipo\": \"oportunidade\",\n \"titulo\": \"Novo lead \u2014 Sugest\u00e3o IA\",\n \"conteudo\": \"={{ $json.content[0].text }}\",\n \"prioridade\": \"alta\",\n \"status\": \"ativo\"\n}"
},
"name": "Salvar Sugest\u00e3o Lead",
"type": "n8n-nodes-base.httpRequest",
"typeVersion": 3,
"position": [
750,
200
]
},
{
"parameters": {
"path": "github",
"httpMethod": "POST",
"responseMode": "onReceived"
},
"name": "Webhook GitHub",
"type": "n8n-nodes-base.webhook",
"typeVersion": 1,
"position": [
250,
450
]
},
{
"parameters": {
"method": "POST",
"url": "https://hluhlsnodndpskrkbjuw.supabase.co/rest/v1/sync_log",
"sendHeaders": true,
"headerParameters": {
"parameters": [
{
"name": "apikey",
"value": "={{ $env.SUPABASE_ANON_KEY }}"
},
{
"name": "Authorization",
"value": "Bearer {{ $env.SUPABASE_ANON_KEY }}"
},
{
"name": "Content-Type",
"value": "application/json"
},
{
"name": "Prefer",
"value": "return=minimal"
}
]
},
"sendBody": true,
"specifyBody": "json",
"jsonBody": "{\n \"origem\": \"github\",\n \"destino\": \"vercel\",\n \"status\": \"ok\",\n \"detalhes\": \"Push: {{ $json.head_commit ? $json.head_commit.message : 'deploy' }}\"\n}"
},
"name": "Log GitHub Push",
"type": "n8n-nodes-base.httpRequest",
"typeVersion": 3,
"position": [
500,
450
]
},
{
"parameters": {
"path": "sync",
"httpMethod": "POST",
"responseMode": "onReceived"
},
"name": "Webhook Sync",
"type": "n8n-nodes-base.webhook",
"typeVersion": 1,
"position": [
250,
700
]
},
{
"parameters": {
"method": "POST",
"url": "https://hluhlsnodndpskrkbjuw.supabase.co/rest/v1/insights_ia",
"sendHeaders": true,
"headerParameters": {
"parameters": [
{
"name": "apikey",
"value": "={{ $env.SUPABASE_ANON_KEY }}"
},
{
"name": "Authorization",
"value": "Bearer {{ $env.SUPABASE_ANON_KEY }}"
},
{
"name": "Content-Type",
"value": "application/json"
},
{
"name": "Prefer",
"value": "return=minimal"
}
]
},
"sendBody": true,
"specifyBody": "json",
"jsonBody": "{\n \"tipo\": \"diagnostico\",\n \"titulo\": \"Sync Event\",\n \"conteudo\": \"Evento: {{ $json.origem || 'sistema' }} \u2192 {{ $json.destino || 'log' }}\",\n \"prioridade\": \"baixa\",\n \"status\": \"ativo\"\n}"
},
"name": "Log Sync Event",
"type": "n8n-nodes-base.httpRequest",
"typeVersion": 3,
"position": [
500,
700
]
}
],
"connections": {
"Webhook Lead Novo": {
"main": [
[
{
"node": "Claude Analisa Lead",
"type": "main",
"index": 0
}
]
]
},
"Claude Analisa Lead": {
"main": [
[
{
"node": "Salvar Sugest\u00e3o Lead",
"type": "main",
"index": 0
}
]
]
},
"Webhook GitHub": {
"main": [
[
{
"node": "Log GitHub Push",
"type": "main",
"index": 0
}
]
]
},
"Webhook Sync": {
"main": [
[
{
"node": "Log Sync Event",
"type": "main",
"index": 0
}
]
]
}
}
}
For the full experience including quality scoring and batch install features for each workflow upgrade to Pro
About this workflow
Excalibur — Fluxo Completo. Uses httpRequest. Webhook trigger; 7 nodes.
Source: https://github.com/contatocardosoeo-sys/excalibur-web/blob/eaba50e0387d4abfc96f8c9bb622d95b100b07cf/workflows/n8n-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.
This template is designed for developers, businesses, and service providers who need to programmatically check Calendly availability. It's perfect for: Web developers building custom booking interface
Never lose a prospect to a missed call again. This workflow sends an automatic "sorry we missed you" SMS within seconds, follows up 2 hours later if there's no reply, and enrolls unresponsive contacts
Send Postcards to Contacts Automatically using CentralStationCRM and EchtPost. Uses httpRequest. Webhook trigger; 12 nodes.
Send Postcards to Contacts Automatically using CentralStationCRM and EchtPost. Uses httpRequest. Webhook trigger; 12 nodes.
Send Postcards to Contacts Automatically using CentralStationCRM and EchtPost. Uses httpRequest. Webhook trigger; 12 nodes.