{
  "name": "Track WhatsApp group message activity with Airtable database",
  "nodes": [
    {
      "id": "a144a8b6-9cf7-4716-9d90-404f06d0e674",
      "name": "Nachricht?",
      "type": "n8n-nodes-base.if",
      "position": [
        -1000,
        80
      ]
    },
    {
      "id": "f18ad0b2-f720-485d-a049-f415b83ccee2",
      "name": "No Operation, do nothing",
      "type": "n8n-nodes-base.noOp",
      "position": [
        -740,
        300
      ]
    },
    {
      "id": "0bac18d6-541c-4c55-ad26-e2d282320959",
      "name": "Suche nach WA_ID",
      "type": "n8n-nodes-base.airtable",
      "position": [
        -420,
        80
      ]
    },
    {
      "id": "87d77dce-17f5-4fad-b1f7-fd430ef50bf7",
      "name": "+1",
      "type": "n8n-nodes-base.code",
      "position": [
        -100,
        80
      ]
    },
    {
      "id": "a755791b-8288-48e6-9175-8beaeaa9ae12",
      "name": "Airtable Update",
      "type": "n8n-nodes-base.airtable",
      "position": [
        120,
        80
      ]
    },
    {
      "id": "bdfafca3-f8c5-4aeb-b798-d436a7b0d350",
      "name": "Webhook",
      "type": "n8n-nodes-base.webhook",
      "position": [
        -1260,
        80
      ]
    },
    {
      "id": "fd632f42-dc44-4c83-8bf8-2d323dde3b19",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -160,
        -260
      ],
      "parameters": {
        "width": 460,
        "height": 500,
        "content": "## Existing User (+1)  \nAdds a +1 to the message count"
      }
    },
    {
      "id": "5304cedc-9da9-42d2-924f-bece2dbb1e0c",
      "name": "Sticky Note2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -460,
        -260
      ],
      "parameters": {
        "width": 200,
        "height": 500,
        "content": "## Search for user  \nLook up the right Airtable record via WhatsApp ID"
      }
    },
    {
      "id": "7913bb25-8722-4623-9ddf-56812e32503e",
      "name": "Switch",
      "type": "n8n-nodes-base.switch",
      "position": [
        -740,
        60
      ]
    },
    {
      "id": "9af54273-d265-44e4-923d-8960a59efc14",
      "name": "Sticky Note4",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -760,
        -260
      ],
      "parameters": {
        "width": 160,
        "height": 500,
        "content": "## Text, emoji, voice, image?  \nCheck if some of these messages are the ones mentioned."
      }
    },
    {
      "id": "e8504f2e-e164-4045-8846-2c97525ebd73",
      "name": "Sticky Note5",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1020,
        -260
      ],
      "parameters": {
        "width": 160,
        "height": 500,
        "content": "## Right group?  \nChecks if the message was sent in the right group."
      }
    },
    {
      "id": "08bcd700-ee11-48b9-844b-8b4091277184",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1280,
        -260
      ],
      "parameters": {
        "width": 160,
        "height": 500,
        "content": "## Webhook from Whapi  \nCatch the webhook from Whapi when the message is received"
      }
    },
    {
      "id": "4b7c3dbf-8000-4c4a-acbc-2195570a0c5b",
      "name": "Sticky Note3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -2680,
        -260
      ],
      "parameters": {
        "width": 1220,
        "height": 1480,
        "content": "# Summary of the Workflow: WhatsApp Engagement Tracker\nYour n8n workflow is designed to track and encourage user engagement in a specific WhatsApp group—ideal for SaaS apps, weekly raffles, or gamific"
      }
    }
  ],
  "connections": {
    "+1": {
      "main": [
        [
          {
            "node": "Airtable Update",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Switch": {
      "main": [
        [
          {
            "node": "Suche nach WA_ID",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Suche nach WA_ID",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Suche nach WA_ID",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Suche nach WA_ID",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Webhook": {
      "main": [
        [
          {
            "node": "Nachricht?",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Nachricht?": {
      "main": [
        [
          {
            "node": "Switch",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "No Operation, do nothing",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Suche nach WA_ID": {
      "main": [
        [
          {
            "node": "+1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}