{
  "id": "209",
  "name": "Create, update and get a contact using the SendGrid node",
  "nodes": [
    {
      "name": "On clicking 'execute'",
      "type": "n8n-nodes-base.manualTrigger",
      "position": [
        270,
        300
      ],
      "parameters": {},
      "typeVersion": 1,
      "id": "ac46d485-b6cf-46d2-ab96-da448603d725",
      "notes": "This manualTrigger node performs automated tasks as part of the workflow."
    },
    {
      "name": "SendGrid",
      "type": "n8n-nodes-base.sendGrid",
      "position": [
        470,
        300
      ],
      "parameters": {
        "email": "",
        "resource": "contact",
        "additionalFields": {
          "firstName": ""
        }
      },
      "typeVersion": 1,
      "id": "5e0287bb-8507-4da2-90bf-3ea677cd3134",
      "notes": "This sendGrid node performs automated tasks as part of the workflow."
    },
    {
      "name": "SendGrid1",
      "type": "n8n-nodes-base.sendGrid",
      "position": [
        670,
        300
      ],
      "parameters": {
        "email": "={{$node[\"SendGrid\"].parameter[\"email\"]}}",
        "resource": "contact",
        "additionalFields": {
          "lastName": ""
        }
      },
      "typeVersion": 1,
      "id": "60b07e5b-1f93-493e-b7d7-30855ca67993",
      "notes": "This sendGrid node performs automated tasks as part of the workflow."
    },
    {
      "name": "SendGrid2",
      "type": "n8n-nodes-base.sendGrid",
      "position": [
        870,
        300
      ],
      "parameters": {
        "by": "email",
        "email": "={{$node[\"SendGrid\"].parameter[\"email\"]}}",
        "resource": "contact",
        "operation": "get"
      },
      "typeVersion": 1,
      "id": "bb685034-28ab-49b8-a8bb-d4146cf5ca94",
      "notes": "This sendGrid node performs automated tasks as part of the workflow."
    },
    {
      "id": "error-01c64e63",
      "name": "Error Handler",
      "type": "n8n-nodes-base.stopAndError",
      "typeVersion": 1,
      "position": [
        1000,
        400
      ],
      "parameters": {
        "message": "Workflow execution error",
        "options": {}
      }
    }
  ],
  "active": false,
  "settings": {
    "executionOrder": "v1",
    "saveManualExecutions": true,
    "callerPolicy": "workflowsFromSameOwner",
    "errorWorkflow": null,
    "timezone": "UTC",
    "executionTimeout": 3600,
    "maxExecutions": 1000,
    "retryOnFail": true,
    "retryCount": 3,
    "retryDelay": 1000
  },
  "connections": {},
  "description": "Automated workflow: Create, update and get a contact using the SendGrid node. This workflow processes data and performs automated tasks.",
  "meta": {
    "versionId": "1.0.0",
    "createdAt": "2025-09-29T07:07:48.987561",
    "updatedAt": "2025-09-29T07:07:48.987579",
    "owner": "n8n-user",
    "license": "MIT",
    "category": "automation",
    "status": "active",
    "priority": "high",
    "environment": "production"
  },
  "tags": [
    "automation",
    "n8n",
    "production-ready",
    "excellent",
    "optimized"
  ],
  "notes": "Excellent quality workflow: Create, update and get a contact using the SendGrid node. This workflow has been optimized for production use with comprehensive error handling, security, and documentation."
}