I am using the REST API to clone programs, update tokens, and activate batch campaigns and start trigger campaigns.
I would like to update flow steps within a program. For example, I implemented the recommended approach to generate recurring webinar series.
So I have one master controller program connected to a landing page/form. The visitor selects from a drop down field, selecting the date they want to register. The campaign flow step evaluates the date and requests the weekly campaign. The weekly campaign lives in another program and manages the webinar registration and reminder emails.
I add to SF campaign using a flow step and would like to update the campaign name and status of the flow step using the API.
I see the id for the flow but do not know how to get that and update it.
Has anyone done this?
Solved! Go to Solution.
I am using the REST API to clone programs, update tokens,[...]
I'm trying to find a way to update many tokens with one API call.
And it sounds like you might have found a way to update tokens (in plural) using the REST API.
Would you please be so kind as to share? 🙂 Or point me in the right direction?
Any help would be much appreciated!
Best / ernie
Unfortunately it's one api call per token value you need to change/update.
However, depending on your intentions, you can set multiple temporary token values in one trigger smart campaign api call - not sure if this meets your needs.
Thanks for your comment!
I found a workaround by building a program in Node.js that can update a list o tokens.
But I will check out your suggestion, for other use cases.