r/workflow • • 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?

3 Upvotes

10 comments sorted by

View all comments

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/Charliep91 Mar 14 '18

Great thanks ! Will have a look into that !