Adapt an API payload

Sometimes an API sends or receives data in a way that Nintex Workflow can't directly use, like XML, or sends the data you want buried in a lengthy string payload.

When the API sends or requires data you can't immediately use in your work flow, you can:

Examples

Assess the opportunity cost of business proposals with WolframAlpha to automate their initial approval process, using a regular expression to extract the response.

Extract data with a regex

Create a serverless function to convert the XML format returned from an API A programming interface that defines how a software platform can receive and respond to requests from other software platforms. into JSON JavaScript Object Notation: a data format based on JavaScript that is commonly used for API request parameters and responses. that Nintex Workflow can use, and use it to send a motivational "word of the day" message to your Slack channel.

Accept an XML response

Create a serverless function to pre-process parameters A piece of information passed to a third-party API during a request. into a format that the API will accept, so you can send emails from an external email server from within Nintex Workflow.

Pre-process parameters