All Collections
Release Notes
Release Notes - Workato Connector Winter 2023 (V417)
Release Notes - Workato Connector Winter 2023 (V417)

New Custom Action and Fixed Get Campaign Details V2 Field Mapping

David Desrosiers avatar
Written by David Desrosiers
Updated over a week ago

!!! IMPORTANT

This release contains elements that could break your recipe. Breaking changes are identified below. Please make sure to test your recipes after the release of the new version and refer to Workato Recipe Version Management Guide for best practices and roll-back strategies.

In this release:

  • New "Custom Action" Action

  • Updated "Get Campaign Details V2" Action (BREAKING CHANGE!)

  • Bug fix: "Get Campaign Details V2" Data Pills Mapping

For Instruction on how to update your connector, please visit the "Installation & Updates" from Workato Connector (Beta) article.

New Custom Action

Custom actions are a great way to implement a "Catch All" for any API call that does not have a predefined action. Take note that all requests sent from your custom action will inherit your authorization details like tokens as well as authorization logic for token refresh. Please refer to The Ultimate Guide to Custom Actions in Workato for additional help on using custom actions.

In this example below we're using the custom action to use the new PATCH campaign endpoint and pass only partial update of campaign data to Jeto:

Update Get Campaign Details V2 Data Structure (BREAKING CHANGE)

For "Get Campaign Details V2" the Form Field "List Size" and "List Index" elements have been updated from using a json array to an object data format to align with Workato Standards.

As a result List size and List index Data pills as well as related resources are now under a data object for each related resource

More specifically the format went from this:

{
attribute: [ARRAY]
}

To this:

{
attribute: {
data: [ARRAY]
}
}

Therefore ”list size and list index must now be parsed using a formula field:

(Text Version)

"List Size:" + 
Form fields.YOUR-STEP#.keys.length
"List Index (Keys):" +  
Form fields.YOUR-STEP#.keys.to_s

Other Improvements and Bug Fixes

  • Bug fix: Fixed "Get Campaign Details V2" Data Pills returning null values for certain data points. Removed invalid data pills.

Did this answer your question?