This n8n workflow automates the tracking of user engagement within a specific WhatsApp group, leveraging Webhook, Airtable, and conditional nodes. The primary goal is to monitor interactions such as messages, emojis, voice notes, and images, then record and update this data in Airtable for analysis or gamification purposes.
The workflow begins with a Webhook node that captures incoming messages from WhatsApp via the Whapi API. It then passes through a conditional ‘IF’ node that filters messages to only process those from a designated group, identified by a chat ID.
Next, a ‘Switch’ node checks the type of message—be it text, emoji reaction, voice, or image—and routes the flow accordingly. For each relevant message, the process looks up the user in Airtable using their WhatsApp ID via a search node. Once the user is identified, a custom code node increments their interaction count.
Following this, an Airtable update node saves the new engagement count, updates the last interaction date, and maintains a record of user activity. The workflow is designed for scenarios such as monitoring participation in group activities, automating reward systems like weekly raffles, or rewarding active community members.
This automation provides a seamless and scalable way to measure and encourage user engagement, freeing up manual monitoring efforts while offering data for gamification or team management.
Reviews
There are no reviews yet.