I need, through the webhook, when I receive an action, the flow to analyze which link has an “active” status and return the link to the client in the browser.
It will be to access the WhatsApp group, so if a group is full, the link will have a “full” status and will return the next group link with a vacancy for the person to access.
not sure I understand exactly what you’re trying to do but, you can start with your webhook node to receive the incoming requests, then use a set node (or code node if you prefer) to manage the WhatsApp group links and their statuses. Then use a switch or if node to route according to the incoming webhook request and the available groups. Finally, use a respond to webhook node to send the response back to the client’s browser.
Remember to activate your workflow for the production webhook URL to work correctly.
Feel free to share your workflow here if you want more guidance or have a more specific question.
Tip for sharing your workflow in the forum
Pasting your n8n workflow
Ensure to copy your n8n workflow and paste it in the code block, that is in between the pairs of triple backticks, which also could be achieved by clicking </> (preformatted text) in the editor and pasting in your workflow.
```
<your workflow>
```
Make sure that you’ve removed any sensitive information from your workflow and include dummy data or pinned data as much as you can!