{
  "name": "SMS Vert Pro - Envoyer un SMS et suivre sa remise",
  "nodes": [
    {
      "parameters": {},
      "id": "5b0e4c1a-0001-4a6e-9c01-7f3d2a100001",
      "name": "Lancement manuel",
      "type": "n8n-nodes-base.manualTrigger",
      "typeVersion": 1,
      "position": [0, 0]
    },
    {
      "parameters": {
        "serverTransport": "httpStreamable",
        "endpointUrl": "https://www.smsvertpro.com/mcp/",
        "authentication": "bearerAuth",
        "tool": { "__rl": true, "mode": "id", "value": "send_sms" },
        "inputMode": "json",
        "jsonInput": "{\n  \"to\": [\"33612345678\"],\n  \"message\": \"Bonjour, ceci est un SMS de test envoyé depuis n8n.\",\n  \"sender\": \"MaSociete\"\n}",
        "options": {}
      },
      "id": "5b0e4c1a-0001-4a6e-9c01-7f3d2a100002",
      "name": "Envoyer le SMS",
      "type": "@n8n/n8n-nodes-langchain.mcpClient",
      "typeVersion": 1,
      "position": [240, 0]
    },
    {
      "parameters": { "amount": 30 },
      "id": "5b0e4c1a-0001-4a6e-9c01-7f3d2a100003",
      "name": "Attendre 30 secondes",
      "type": "n8n-nodes-base.wait",
      "typeVersion": 1.1,
      "position": [480, 0],
      "webhookId": "5b0e4c1a-0001-4a6e-9c01-7f3d2a1000a3"
    },
    {
      "parameters": {
        "serverTransport": "httpStreamable",
        "endpointUrl": "https://www.smsvertpro.com/mcp/",
        "authentication": "bearerAuth",
        "tool": { "__rl": true, "mode": "id", "value": "get_delivery_report" },
        "inputMode": "json",
        "jsonInput": "={{ JSON.stringify({ campaign_id: $('Envoyer le SMS').item.json.structuredContent.campaign_id }) }}",
        "options": {}
      },
      "id": "5b0e4c1a-0001-4a6e-9c01-7f3d2a100004",
      "name": "Rapport de remise",
      "type": "@n8n/n8n-nodes-langchain.mcpClient",
      "typeVersion": 1,
      "position": [720, 0]
    }
  ],
  "connections": {
    "Lancement manuel": { "main": [[{ "node": "Envoyer le SMS", "type": "main", "index": 0 }]] },
    "Envoyer le SMS": { "main": [[{ "node": "Attendre 30 secondes", "type": "main", "index": 0 }]] },
    "Attendre 30 secondes": { "main": [[{ "node": "Rapport de remise", "type": "main", "index": 0 }]] }
  },
  "settings": { "executionOrder": "v1" },
  "pinData": {}
}
