Hi,
Need to deploy the flow through lambda function. Kindly suggest the process to deploy this.
Hi,
Need to deploy the flow through lambda function. Kindly suggest the process to deploy this.
Here are the API calls needed to deploy an Architect flow:
POST /api/v2/flows/jobs
- Registers a new job and returns a presigned URL to which an Architect flow YAML file can be PUT which will then initiate the job.
PUT {presigned url}
- Execute a PUT request to the URL returned from the previous call, with the file contents of the Architect flow config file as a string for the request body.
To achieve this with the Python SDK, you will need to find the SDK functions that correspond to these API calls.
It looks like this will be post_flows_jobs
Hi Dharshini,
This endpoint is also the endpoint the CX as Code flow resources uses to deploy flows. Be aware that there is a couple of limitations with this endpoint:
If you need to do any of the above items, I would recommend you would look at Archy our CLI for deploying flows.
Can I ask why you guys are using Python to deploy your flows rather then something like CX as Code or Archy?
Thanks,
John Carnell
Manager, Developer Engagement
This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.