Using Schedule Trigger inside my Ai Asistent

Hello everyone,
I want to include a daily reminder in this Ai Asistant, that will notify the user, to fill out a google form application everynight at 8pm.

As you can see from the workflow, I already made the Schedule Trigger and made a code that will send the message to the user through Telegram.

The issue I’m encountering is that I somehow need to connect the “send message” node to the telegram trigger node (so that the “send message” node will get all the needed information to send the message (for example: message chat id)).

I tried connecting it directly to the send message, but the problem occurs when I trigger the workflow, the send message workflow get’s triggered directly, without waiting for the schedule trigger.

I would be sincerly thankful for every help!

Information on your n8n setup

  • n8n version: The Latest
  • Database (default: SQLite): SQLite
  • n8n EXECUTIONS_PROCESS setting (default: own, main): Default
  • Running n8n via (Docker, npm, n8n cloud, desktop app): n8n cloud
  • Operating system: Windows 11

Hey macomuck,

Have you considered using a database to store the information? On the schedule trigger it can gather the list of your users, and if they have filled out the form.

Then, for each user it can send out the message.

Store the information, by that you mean to store the telegram chat ids?

Yes. When the time is triggered it can retrieve all relevant details from a database, and then perform work on each entry.

Great idea, I just don’t know exactly how I could execute / program such a function.

Do you have any idea?

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