Help with wait node and webhook

Describe the problem/error/question

I have a workflow for reminders which reminds me or family of certain events, but I want to make sure they have acknowledged those events. Like reminding to take certain medicine on certain days. It works great except the acknowledgement part.

I am using the wait node which sends the webhook URL as a part of the message and asks them to click to confirm. I do not know how to make “Check confirmation” condition to false.

If true, end the workflow
if false, send reminder every hour until confirmation received (they click the URL)

What is the error message (if any)?

N/A

Please share your workflow

Share the output returned by the last node

Information on your n8n setup

  • n8n version: 1.59.4
  • Database (default: SQLite): Yes
  • n8n EXECUTIONS_PROCESS setting (default: own, main): default
  • Running n8n via (Docker, npm, n8n cloud, desktop app): Docker compose (self-hosted)
  • Operating system: Docker Compose

Welcome to the community @sat.waheguru13 !

Tip for sharing information

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>
```

That implies to any JSON output you would like to share with us.


I would strongly advise to have the use cases decoupled - one workflow to send a reminder and the other to handle the acknowledgements. They should work asynchronously!

To be more specific, one workflow sends notification with the link to acknowledge, no waiting needed, no loops. The other would listen to incoming HTTP requests by means of a Webhook node and update your “database” with the new status of the reminder.

Hi @ihortom, Thank you for sharing insights.

I am new to n8n, I am afraid, I quite didn’t follow your suggestion workflow wise.

My understanding is webhook has to be triggered first for workflow to start, where I want workflow to start at certain intervals automatically and then take decision based upon the acknowledgement received. I d not have any database to update, Do you mean n8n sqlite3 db?

Can you help me understand, please? If you can share some example, that’d be great.

Hey @sat.waheguru13 , I assumed that the service you access with HTTP Request nodes (ntfy.sh) is the application with its own database to keep track of the notifications sent and their statuses. If it is a very basic app - push and forget - then you can introduce some kind of storage to the workflow itself where you would keep the track of the notifications sent out and either mark them as acknowledged or remove completely (whichever is preferable/apropriate) with the other Webhook-based workflow once the link provided has been clicked on.

The link to be clicked on and thus acknowledging the receipt of the message would have to be the Webhook URL used in the other workflow.

The storage could be anything from a Google Spreadsheet and Airtable to a proper DB like Postgres, whichever is more suitable for you.

Perhaps I misunderstood your agenda and my suggestions do not make sense and inappropriate for your use case. If it does sound like something you would like to explore further, let me know and I will try to provide more hints how to have it implemented.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.