There are a number of reasons why you might want to add Custom Fields to a method.
The response method may include fields unique to the account where you’re working. You may also have added fields using script on a step, such as this field custom message tag, and you now want to map it within your cycle.
To do this, open Settings for the connector in question, in our case, it’s the Gmail connector and find the method to which you want to add the field.
You can add fields to the request or the response of methods, and the process is likely the same. For the purpose of this example, we’re going to add a field to the response.
You do this by clicking the plus, completing details of the field. The most important parts of the field location which refers to where the field appears in the JSON and the data type.
Here I’m going to go into custom message type, with the data type of text.
You can now see it’s listed as one of the fields in the response, and you can edit or delete it as necessary.
If you need to add multiple fields at once, you can do this by pasting in example JSON payload, like this. Click the magnifying glass, paste in the JSON and click generate.
Cyclr will add any new fields it finds in the JSON going back to the cycle now.
Open up the Google Sheets step, we can now map to any of the new fields that we added.