{
  "name": "Todoist weekly email of completed tasks",
  "nodes": [
    {
      "id": "45351dbb-6c0c-4442-a350-35d966a26fa1",
      "name": "When clicking ‘Test workflow’",
      "type": "n8n-nodes-base.manualTrigger",
      "position": [
        0,
        180
      ]
    },
    {
      "id": "9644a07e-0b97-4b48-846c-821f620128cc",
      "name": "Get completed tasks via Todoist API",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        220,
        0
      ]
    },
    {
      "id": "94f40824-43ff-45ae-adfd-b18a5903cba1",
      "name": "Optional: Ignore specific projects",
      "type": "n8n-nodes-base.code",
      "position": [
        440,
        0
      ]
    },
    {
      "id": "c50b00d6-4e9c-43e5-b6b8-ee0caac78c68",
      "name": "Format the email body",
      "type": "n8n-nodes-base.code",
      "position": [
        660,
        0
      ]
    },
    {
      "id": "42b38a9b-2dbc-46f5-895c-f8597eb48bf1",
      "name": "Every Friday afternoon",
      "type": "n8n-nodes-base.scheduleTrigger",
      "position": [
        0,
        0
      ]
    },
    {
      "id": "adece42d-d84a-41c8-8269-35ba08879e52",
      "name": "Send Email",
      "type": "n8n-nodes-base.emailSend",
      "position": [
        860,
        0
      ]
    }
  ],
  "connections": {
    "Format the email body": {
      "main": [
        [
          {
            "node": "Send Email",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Every Friday afternoon": {
      "main": [
        [
          {
            "node": "Get completed tasks via Todoist API",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "When clicking ‘Test workflow’": {
      "main": [
        [
          {
            "node": "Get completed tasks via Todoist API",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Optional: Ignore specific projects": {
      "main": [
        [
          {
            "node": "Format the email body",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get completed tasks via Todoist API": {
      "main": [
        [
          {
            "node": "Optional: Ignore specific projects",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}