Named Variables#

There are times when we have a single field in a Trigger that contains info that you want split out into multiple fields, or maybe you only want part of that field to come through to the Action. We use a special function called named variables to help make this possible.

Note: For named variables to work you MUST have control over the data in your Trigger. If your Trigger data is automatically generated and you can't change the formatting, named variables won't work for you in this instance.

Take this example, instead of formatting your data like this in Evernote:

Evernote Note

You’ll want to format it like this:

Evernote Note

With the named variables that have been formatted, you can then select the fields individually in your Zap Editor from the drop-down. Zap fields dropdown

You can use this for any field you like, just make sure that you can add in the names and parentheses in your Trigger data and don't mind that the Trigger service having the names and parentheses formatted in this way. Also, make sure the named variable only has letters, numbers, or underscores. For example, id() will work as a named variable, id#() will not.