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": "Mercado Pago - Fluxo Completo: Plano \u2192 Assinatura \u2192 Webhook",
"nodes": [
{
"parameters": {},
"id": "manual-trigger",
"name": "Quando clicar em 'Testar'",
"type": "n8n-nodes-base.manualTrigger",
"typeVersion": 1,
"position": [
250,
400
]
},
{
"parameters": {
"resource": "plans",
"operation": "create",
"name": "Plano Premium Mensal",
"amount": 99.99,
"frequency": 1,
"frequencyType": "months",
"currencyId": "BRL"
},
"id": "criar-plano",
"name": "Criar Plano",
"type": "n8n-nodes-mercadopago-flow.mercadoPago",
"typeVersion": 1,
"position": [
450,
300
],
"credentials": {
"mercadoPagoApi": {
"name": "<your credential>"
}
}
},
{
"parameters": {
"resource": "subscriptions",
"operation": "create",
"planId": "={{ $json.id }}",
"payerEmail": "cliente@exemplo.com",
"payerDocument": "12345678909",
"subscriptionStatus": "authorized",
"startDate": "={{ $now.toISO() }}",
"trialPeriodDays": 7
},
"id": "criar-assinatura",
"name": "Criar Assinatura",
"type": "n8n-nodes-mercadopago-flow.mercadoPago",
"typeVersion": 1,
"position": [
650,
300
],
"credentials": {
"mercadoPagoApi": {
"name": "<your credential>"
}
}
},
{
"parameters": {
"resource": "webhooks",
"operation": "create",
"url": "https://seu-n8n.com/webhook/assinatura",
"events": "payment,subscription",
"description": "Webhook para assinaturas"
},
"id": "registrar-webhook",
"name": "Registrar Webhook",
"type": "n8n-nodes-mercadopago-flow.mercadoPago",
"typeVersion": 1,
"position": [
850,
300
],
"credentials": {
"mercadoPagoApi": {
"name": "<your credential>"
}
}
},
{
"parameters": {
"assignments": {
"assignments": [
{
"id": "plan-id",
"name": "planId",
"value": "={{ $('Criar Plano').item.json.id }}",
"type": "string"
},
{
"id": "subscription-id",
"name": "subscriptionId",
"value": "={{ $('Criar Assinatura').item.json.id }}",
"type": "string"
},
{
"id": "webhook-id",
"name": "webhookId",
"value": "={{ $json.id }}",
"type": "string"
}
]
},
"options": {}
},
"id": "format-response",
"name": "Formatar Resposta",
"type": "n8n-nodes-base.set",
"typeVersion": 3.3,
"position": [
1050,
300
]
}
],
"connections": {
"Quando clicar em 'Testar'": {
"main": [
[
{
"node": "Criar Plano",
"type": "main",
"index": 0
}
]
]
},
"Criar Plano": {
"main": [
[
{
"node": "Criar Assinatura",
"type": "main",
"index": 0
}
]
]
},
"Criar Assinatura": {
"main": [
[
{
"node": "Registrar Webhook",
"type": "main",
"index": 0
}
]
]
},
"Registrar Webhook": {
"main": [
[
{
"node": "Formatar Resposta",
"type": "main",
"index": 0
}
]
]
}
},
"settings": {
"executionOrder": "v1"
},
"staticData": null,
"tags": [],
"triggerCount": 0,
"updatedAt": "2025-01-02T00:00:00.000Z",
"versionId": "1"
}
Credentials you'll need
Each integration node will prompt for credentials when you import. We strip credential IDs before publishing — you'll add your own.
mercadoPagoApi
For the full experience including quality scoring and batch install features for each workflow upgrade to Pro
About this workflow
Mercado Pago - Fluxo Completo: Plano → Assinatura → Webhook. Uses n8n-nodes-mercadopago-flow. Event-driven trigger; 5 nodes.
Source: https://github.com/eliveutonsouza/n8n-nodes-mercadopago-flow/blob/main/exemplos/09-assinatura-completa.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.
MuAPI — Logo Generator (FLUX 2 Pro). Uses n8n-nodes-muapi. Event-driven trigger; 2 nodes.
Inova · Processo Completo (v32) — Empresa Rodando. Manual trigger; 79 nodes.
Startseiten-Anfragecheck - Live V1. Uses httpRequest, emailSend. Webhook trigger; 26 nodes.
Audit Funnel - Customer Journey Audit Runner V2. Uses httpRequest, openAi, emailSend. Webhook trigger; 38 nodes.