Hello I posted this a few months ago.
This problem smells like something @tylerboodman knows how to solve!
@YourFavFreelancer suggested using reoccurring events and that would have worked but sadly reoccurring events for some reason are extremely limited to 1 per thing. terrible… Is not the person’s fault he gave the correct answer just won’t work for my use case.
Also had @adamhholmes who suggested a workaround that sounds absolutely perfect and will be the theory I follow.
I have been reading this post now Can I schedule daily recurring events on the personal plan? - #3 by EthanB
I see @eli suggested what I will be doing as well!
His comment is
“you can get around this by simply rescheduling your workflow inside the workflow.
Set up your endpoint and make the first action be “schedule an API workflow’ and set the date to ‘current date/time +days 1’.
You will have to kick it off manually the first time but from there it works exactly the same as a daily recurring action.”
My question is:
-If I manually trigger the daily even to happen via:
action be “schedule an API workflow"
Is there a way I can have a button on the page that will allow the person to disable the automation?
Example (random use case):
-I provide a service for many companies and on each of the admin dashboards for each company there is a button to enable and disable a daily import of new products from an external API.
How can I check if there is a workflow schedule for that specific company and allow them to disable it?
Something like: Daily import status: Enabled[BUTTON"disable daily import"]
Then if its disabled the button will say [enable daily import]
Basically a way for the users to enable and disable the daily automation for their company on the app.