Hi,
I have a Reminders app, where a user can create a “reminder” with the fields “title” and “due date”.
How can I send that user an email on the date “due date”.?
Thanks in advance
Hi,
I have a Reminders app, where a user can create a “reminder” with the fields “title” and “due date”.
How can I send that user an email on the date “due date”.?
Thanks in advance
Hey @hacker,
You can schedule an API workflow for the day it’s due when the reminder is being created
Thanks, @johnny.
Yes, when I create the reminder, I can schedule an API workflow and scheduled date I enter the due date from the reminder.
But what happens when the user edit the due date with auto bind? I cancel the scheduled workflow and create a new one?
Yup, so make sure to save the API ID so you’ll be able to cancel it.
But how can I have the workflow run with autobind?
Do I save the API ID in a field in the type Reminder?
Thanks
Yes you can do that
Right click on the input or date picker, “Start/Edit Workflow”
But I have two date pickers, one for the start and the other for end. What happens when a user moves both dates, it will cancel 2 times and schedule 2 times?
The notification is being sent for the due date/end time correct? If so, you’d only need to do it for your end time
Ohh, sorry. I was thinking of another thing. You are right. Thanks
Hey, @johnny.
I scheduled an API workflow when the reminder is being created and scheduled it for the day the reminder it’s due.
Here is the API workflow (I made it with new API endpoint)
And in my logs, the scheduled date appears good.
But it didn´t worked. What am I doing wrong?
Thanks in advance
Hmm… how’s your actual API endpoint setup?
What is that key you are passing in?
reminder type Reminder
Hm… could it possibly be an issue with your Sendgrid?
I don’t think so. All other emails are arriving okay. And I’ve tried with Gmail and Hotmail.
Weird… I’m not sure @J805 any ideas?
Hey @hacker
Maybe try sharing your editor so @johnny can see the whole process? That would be better so we can get the whole picture and can see what’s going on.
Then hopefully we can take a look at it for you.
For All Your No-Code Education Needs:
Hey, @J805 and @johnny for helping. This is an app of the company I work for, and I can´t have access for sharing the app. But I can try to explain it to you in the best way possible.
A user creates a reminder (“recordatorio”) and then schedule the reminder (fecha=date) and then make changes to the reminder and add the API ID to it.
Then I send an email at the scheduled date
And in the logs it seems to be okay
Thanks again
Hey @hacker
What do your server logs show on the scheduled date/time you chose?
That might help us troubleshoot what is going wrong.