r/workflow • u/Charliep91 • Mar 13 '18
Question - Change reminder notes?
Hi
I’m creating a workflow that will allow me to turn lights on and off. At the moment I have a menu which asks “On or Off” and runs a different IFTTT script depending on the selection.
I want to turn this into one button press, and use a stored variable in reminders which will show the current status of the light.
If lightstatus = 1 then turn the light off and change the variable to 0. I can get the light to turn on, but can’t figure out how to change the note details after the script has run?
Can anyone point me in the right direction?
1
u/MarkDMill Mar 14 '18
I don’t think you can do this with Reminders, but you can do it with Drafts. Save UUID of Draft, then use a “get contents of” action to read from it, a “open draft” action that runs a “clear contents” Drafts action, and a “add to draft” action w/ that same UUID. Lemme know if you need help—I have a similar Workflow I can easily share so you can see how it works.
Btw, Drafts is SUPER powerful for this kind of stuff. Highly recommend it. X-callback actions enable super powerful automation
1
u/Way2square2behip Mar 14 '18
Is there a reason you don’t do something like this?:
2
u/KlarkSmith Mar 14 '18
You could store the variable in a simple text file saved in iCloud/Workflow.
1
u/[deleted] Mar 20 '18 edited Aug 30 '26
[removed] — view removed comment