The Community will be temporarily unavailable starting on Friday February 28. We’ll be back as soon as we can! To learn more, check out our Announcements blog post.
Greetins!
I am starting a new project where in which I will write a script that needs to be triggered…
at regular intervals (eg. daily)
ad hoc, manually by a user
Automations work well for the first case, and scripting app for the second case. Howeve...
Having the exact same problem. I am using an automation to integrate with Stripe. The payload of their payment completed webhook is different based on the type of payment and I would very much like to be able to load the full body in a script...Obvio...
Thanks! This was also the problem in my case. The error message is very misleading (I spent a lot of time trying to figure out what was wrong with my conditional group!).
kuovonne:
Just curious, but what was your replacement? When I’ve been in this situation, I have hardcoded the encoded string.
I was just about to hardcode the encoded string instead of using btoa() when I found this: ATOB/BTOA Perfect Alternat...
@Michael_Ali1 You could just replace the last three lines of the original script with the following four:
let record = await input.recordAsync('Record to timestamp', config.tableToUse)
let newDateTime = new Date();
newDateTime.setDate(newDateTime.ge...
So just to keep track of the idea, for those people who may be interested… I coded a quick proof of concept involving:
The actual script in an automation triggered by a webhookA scripting app posting go the webhook for manual triggersAn automation ba...