{
  "meta": {
    "versionId": "1.0.0",
    "createdAt": "2025-09-29T07:07:42.274355",
    "updatedAt": "2025-09-29T07:07:42.274386",
    "owner": "n8n-user",
    "license": "MIT",
    "category": "automation",
    "status": "active",
    "priority": "high",
    "environment": "production"
  },
  "nodes": [
    {
      "id": "40216649-af2c-44df-83c6-75afe75dcdaf",
      "name": "On new event",
      "type": "n8n-nodes-base.calendlyTrigger",
      "position": [
        400,
        240
      ],
      "parameters": {
        "events": [
          "invitee.created"
        ]
      },
      "credentials": {
        "calendlyApi": {
          "name": "<your credential>"
        }
      },
      "typeVersion": 1,
      "notes": "This calendlyTrigger node performs automated tasks as part of the workflow."
    },
    {
      "id": "46914a34-984e-4736-b2a3-6e97555b73c7",
      "name": "Create/update contact",
      "type": "n8n-nodes-base.mautic",
      "position": [
        620,
        240
      ],
      "parameters": {
        "email": "={{$(\"On new event\").item.json[\"payload\"][\"email\"]}}",
        "options": {},
        "firstName": "={{$json[\"payload\"][\"name\"]}}",
        "additionalFields": {}
      },
      "credentials": {
        "mauticApi": {
          "name": "<your credential>"
        }
      },
      "typeVersion": 1,
      "notes": "This mautic node performs automated tasks as part of the workflow."
    },
    {
      "id": "df809a8d-7b05-4ecc-a022-7bb12842b4bc",
      "name": "Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -20,
        180
      ],
      "parameters": {
        "width": 313,
        "height": 229,
        "content": "### Create/update Mautic contact on a new Calendly event\n1. `On new event` triggers on new Calendly events.\n2. `Create/update contact` will create a contact in Mautic or update the contact's first name. If the contact's email is already in Mautic, then the first name will be overwritten to the new first name."
      },
      "typeVersion": 1,
      "notes": "This stickyNote node performs automated tasks as part of the workflow."
    },
    {
      "id": "error-982950ac",
      "name": "Error Handler",
      "type": "n8n-nodes-base.stopAndError",
      "typeVersion": 1,
      "position": [
        1000,
        400
      ],
      "parameters": {
        "message": "Workflow execution error",
        "options": {}
      }
    }
  ],
  "connections": {},
  "name": "Calendlytrigger Workflow",
  "settings": {
    "executionOrder": "v1",
    "saveManualExecutions": true,
    "callerPolicy": "workflowsFromSameOwner",
    "errorWorkflow": null,
    "timezone": "UTC",
    "executionTimeout": 3600,
    "maxExecutions": 1000,
    "retryOnFail": true,
    "retryCount": 3,
    "retryDelay": 1000
  },
  "description": "Automated workflow: Calendlytrigger Workflow. This workflow integrates 3 different services: calendlyTrigger, stickyNote, mautic. It contains 3 nodes and follows best practices for error handling and security.",
  "notes": "Excellent quality workflow: Calendlytrigger Workflow. This workflow has been optimized for production use with comprehensive error handling, security, and documentation.",
  "id": "wf17de37fa306d"
}