{
  "name": "S2D recipe - airtable-client-report-decks",
  "nodes": [
    {
      "id": "c1000000-0000-4000-8000-000000000001",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "typeVersion": 1,
      "position": [
        -320,
        -340
      ],
      "parameters": {
        "width": 560,
        "height": 300,
        "content": "## Weekly client report decks from Airtable\nEvery Monday at 8am, SourceToDocs generates one Google Slides report per client. The split document reads your Airtable base itself and delivers the decks to Google Drive. The last node keeps each deck's link, file name and client.\n\n**Set up before you activate**\n- SourceToDocs credential (API token) on the SourceToDocs node\n- Document: your split Google Slides document that reads Airtable (Rows Come From stays on Connected Data Sources)\n- No sheet to connect: the rows come from the document's own Airtable connection\n- Replace Use the links with what should happen to each deck (email, Slack, a tracker)\n\nGuide: https://sourcetodocs.com/automations/airtable-client-report-decks/"
      }
    },
    {
      "id": "c1000000-0000-4000-8000-000000000002",
      "name": "Schedule Trigger",
      "type": "n8n-nodes-base.scheduleTrigger",
      "typeVersion": 1.4,
      "position": [
        -260,
        0
      ],
      "parameters": {
        "rule": {
          "interval": [
            {
              "field": "weeks",
              "weeksInterval": 1,
              "triggerAtDay": [
                1
              ],
              "triggerAtHour": 8,
              "triggerAtMinute": 0
            }
          ]
        }
      }
    },
    {
      "id": "c1000000-0000-4000-8000-000000000003",
      "name": "SourceToDocs",
      "type": "@twovmodules/n8n-nodes-sourcetodocs.sourceToDocs",
      "typeVersion": 1.1,
      "position": [
        -20,
        0
      ],
      "parameters": {
        "resource": "document",
        "operation": "generate",
        "documentId": {
          "__rl": true,
          "mode": "list",
          "value": ""
        },
        "rowsFrom": "connected",
        "output": "simplified",
        "options": {}
      }
    },
    {
      "id": "c1000000-0000-4000-8000-000000000004",
      "name": "Use the links",
      "type": "n8n-nodes-base.set",
      "typeVersion": 3.5,
      "position": [
        220,
        0
      ],
      "parameters": {
        "mode": "manual",
        "assignments": {
          "assignments": [
            {
              "id": "c1a00000-0000-4000-8000-000000000001",
              "name": "file_url",
              "type": "string",
              "value": "={{ $json.file_url }}"
            },
            {
              "id": "c1a00000-0000-4000-8000-000000000002",
              "name": "file_name",
              "type": "string",
              "value": "={{ $json.file_name }}"
            },
            {
              "id": "c1a00000-0000-4000-8000-000000000003",
              "name": "split_key",
              "type": "string",
              "value": "={{ $json.split_key }}"
            }
          ]
        },
        "includeOtherFields": false,
        "options": {}
      }
    }
  ],
  "connections": {
    "Schedule Trigger": {
      "main": [
        [
          {
            "node": "SourceToDocs",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "SourceToDocs": {
      "main": [
        [
          {
            "node": "Use the links",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  },
  "settings": {
    "executionOrder": "v1"
  }
}
