Api Workflow send email question

Hello everyone,

I’m trying to setup an api workflow to send a copy of an email to a user after they click on a button found in an email (pictured below). Ideally they’ll receive an email notifying someone sent them a message, and then they will have the option to be resent that exact email either 3, 6, or 9 hours from that open timestamp.

29%20AM

The buttons link to a separate page in my app that has the workflow on a page load pulling the time but I can’t get it to send at any of those 3 times. I just get it to send exactly when the page loads. Does anyone have any tips on how to get this done? I’ve played with it a few different ways and I can’t seem to get it to go through.

You can schedule a workflow to fire in the future.

https://manual.bubble.is/using-the-bubble-api/scheduled-workflows.html#scheduled-workflows

1 Like

How would you be able to set this up using the time a user clicks on the button in the email plus the future schedule? I’ve tried this and it just resends automatically.

When the page loads, you could set a state to equal the current time. That time, plus the amount of future time (3,6,9 hours) should set the timer to the point of the email click.

1 Like

Thank you! Do you know how I would be able to pull in the exact same data from the one page to the other? One page sends the original email and the second page has the reload workflow.