Assign existing CallFlow when posting new tracking numbers and add to existing integration trigger
One feature we are really enjoying is being able to create tracking numbers via the API. It has allowed us to almost completely automate this portion of making our marketing campaigns and easily create many numbers. The only item left that is manual is applying our Call Flow to each number in the web interface, and adding the new numbers to an integration trigger.
Call flows: I see we can only create/update basic Call Flows for tracking numbers through the API, but it would be great if we could assign Advanced Call Flows that are already present and set up in our account, perhaps by some specific Call Flow ID. We don't necessarily want to create a whole JSON tree for the advanced Call Flow, we just want to assign an existing advanced Call flow from our account (the Call Flows in the workflow screen) in the tracking number creation post. Alternatively, if we were able to get the JSON tree of the advanced call flow from the API for existing call flows, then just copy it to our post request for new trackers, that would work too.
On the integration trigger side: this may be currently possible, but I can't figure it out from the "Updating an integration trigger" API docs. It would be great to be able to add an integration trigger id to the tracker creation post parameters to get the new tracker automatically added to an integration trigger, but we are also okay with a separate request specifically to the integration trigger endpoint. We would want to update an integration trigger by adding the newly created tracking ids to an existing integration trigger. Is this possible? We would just want to append the new trackers to the existing integration trigger, but maybe we have to first get a list of all current tracker ids in the trigger, append our new ones, then update the integration trigger with our list of all tracker ids (new and old) with a put request?
Thank you for your time.
Comments
Good morning Sam!
I will submit your feature request about the advanced call flows in the API to our product team. If they are able to find a work around for this, I will let you know here.
https://api.callrail.com/v3/a/{account_id}/integration_triggers/{integration_trigger_id}.json
Please sign in to leave a comment.