Learn how to setup an API Proxy in Cobalt
New Action
button and provide a Name
and Description
for the API Proxy.Create Action
button.Basic Information
option can be used to update the name or the description of the API proxy.
Fields
tab allows you to add and update fields for your Custom Action. These fields can be utilized to pass information between different steps within the workflow.
And the API Call
tab is used to define the API call to be executed upon triggering the action, Specify the endpoint, HTTP method, and any required request parameters.
+
icon in Fields.Type
of the field, Label
, Placeholder
, Description
and whether the Field is Mandatory or not and click on Add Field
.
API Call
section of API Proxy.Save API Call
.(x)
icon.API Call
section of your API Proxy setup, Cobalt offers options to change how you want to handle the response. Following are the settings available to you:
Response Format
Save Response to Bucket
Use Public URL
Use Public URL
to work Save Response to Bucket toggle should be On, else it is ignored.Save Response to Bucket
will be a private bucket and can only be accessed by the same AWS org. Also, this URL can be used in Cobalt nodes as well like PDF Node.But if you want to share the bucket to public, turn on Use Public URL
toggle and you can share it easily.Pagination
Pagination
toggle.In the Type
field, select the pagination type and provide the required fields and click on Save API Call
.