{
  "name": "Generate images from Airtable records with Layerre and Canva",
  "nodes": [
    {
      "id": "3e5aa464-ddf2-40e0-8d73-64cf45ba34bf",
      "name": "When clicking \"Test\"",
      "type": "n8n-nodes-base.manualTrigger",
      "position": [
        144,
        416
      ]
    },
    {
      "id": "f3f96264-e766-4ebd-888e-52c3e6282f4a",
      "name": "Overview",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -400,
        -128
      ],
      "parameters": {
        "width": 480,
        "height": 820,
        "content": "## Airtable → Layerre → Airtable\n\nGenerate images from Airtable records (e.g. leads, events, products) and write the rendered image URL back into your base.\n\n### How it works\n1. **Create Template**: O"
      }
    },
    {
      "id": "a8779b50-cf93-4bc3-b33c-bc50af5a4c8d",
      "name": "Step 1 Instructions",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        448,
        112
      ],
      "parameters": {
        "width": 320,
        "height": 200,
        "content": "## Step 1: Create Template (one-time)\n\nCreate a Layerre template from your Canva design. Run this node once with your Canva URL, then disable it and paste the template ID into the Create Variant node."
      }
    },
    {
      "id": "910d2fdb-0d36-44bc-831e-c892c221e4d3",
      "name": "Create Template from Canva",
      "type": "n8n-nodes-layerre.layerre",
      "position": [
        576,
        416
      ]
    },
    {
      "id": "a0617442-116e-48da-8d86-18a582c98f0c",
      "name": "Step 2 Instructions",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        912,
        -48
      ],
      "parameters": {
        "width": 360,
        "height": 380,
        "content": "## Step 2: List Airtable records\n\n1. Add Airtable credentials (Personal Access Token).\n2. Select your base and table.\n3. Optionally use **Filter By Formula** to limit records (e.g. only rows where the"
      }
    },
    {
      "id": "1b1bd407-7000-4280-9dfb-c66337db3e9f",
      "name": "List Airtable records",
      "type": "n8n-nodes-base.airtable",
      "position": [
        1024,
        416
      ]
    },
    {
      "id": "7acebddd-7287-49c6-920b-d4db557446d7",
      "name": "Step 3 Instructions",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1408,
        0
      ],
      "parameters": {
        "width": 360,
        "height": 300,
        "content": "## Step 3: Create Variant per record\n\nSet **Template ID** (from Step 1). Map Airtable fields to your Canva layers using `$json.fields['Field Name']` for field values. Each list item becomes one varian"
      }
    },
    {
      "id": "b2631099-c38d-4a4a-972d-80b23593f4c1",
      "name": "Step 4 Instructions",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1856,
        32
      ],
      "parameters": {
        "width": 376,
        "height": 300,
        "content": "## Step 4: Update Airtable with image URL\n\nWrite the rendered image URL back to the same record. Use the record **id** from the List step (e.g. `$('List Airtable records').item.json.id`) and the image"
      }
    },
    {
      "id": "196bbbd6-e1ed-414e-b7e4-687ac72a20c0",
      "name": "Update Airtable record",
      "type": "n8n-nodes-base.airtable",
      "position": [
        1968,
        416
      ]
    },
    {
      "id": "87e4be2e-765a-49bf-a8a0-0d6adaa90c8d",
      "name": "Create a variant",
      "type": "n8n-nodes-layerre.layerre",
      "position": [
        1520,
        416
      ]
    }
  ],
  "connections": {
    "Create a variant": {
      "main": [
        [
          {
            "node": "Update Airtable record",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "When clicking \"Test\"": {
      "main": [
        [
          {
            "node": "Create Template from Canva",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "List Airtable records": {
      "main": [
        [
          {
            "node": "Create a variant",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Create Template from Canva": {
      "main": [
        [
          {
            "node": "List Airtable records",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}