Variables are a way to store static values that you can map to other fields in your Zaps. You can identify variables in Zaps, as they appear with the globe icon and are blue. This allows you to reuse the same value anywhere you need it. When you update or delete a variable, Zaps will automatically update its value everywhere it is mapped.
You have a large number of sales-related Zaps where you need to insert your company website in fields. Instead of manually typing it in each time, you can create and use a variable.
Available on plans:
Free
Professional
Team
Enterprise
Create a variable
To create a variable in the Zap editor:
- In the bottom left, click Variables. A dialog box will appear with the Variables library.
- In the upper right, click + Create variable. You will be redirected to the Create variable section.
- In the Variable Name field, enter a name for your variable.
- In the Variable Type field, select an option from the dropdown menu.
- Text.
- Number.
- Date.
- Email.
- Phone.
- Link.
- Code.
- Click Save. You will be redirected back to the Variables section.
Manage variables
You can manage variables in the Variables library. The library lists all variables created in your account. If you have a Team or Enterprise account, all created variables are accessible to all members.
To view your Variables library:
- Go to the Zap editor.
- In the bottom left, click Variables. A dialog box will appear with the Variable library.
- All variables created in your Zapier account will appear in the Global tab.
It lists variables in chronological order of when you created or last updated them, with newest on top. If you are on a Team or Enterprise plan, variables you own will appear before variables owned by other users in your account. You can manage each variable by clicking its settings icon to open the dropdown menu. Then select an option:
- Edit: redirects you to the Edit variable section where you can change the variable name, type, or value.
-
Duplicate: duplicates the variable.
- You will see a
(1)
appended after the name to indicate it’s a copy of the original variable.
- You will see a
-
Delete: deletes the variable.
- Anywhere it was mapped, your Zap will replace it with
Undefined variable X
, where “X” is the ID of the deleted variable. - Your Zap will return a null value when it runs.
- Anywhere it was mapped, your Zap will replace it with
Limitations
- You cannot use variables in trigger steps.
- Each variable must have a unique variable name. You cannot reuse variable names.
- You can have up to 1000 variables in your account.
- If you are on a Team or Enterprise plan, this limit is across all users in your account.
- Variable values are strings, which are simple alphanumeric values and/or special characters. They do not support complex values like line items.
- Zapier recommends that you do not use variables to store or share sensitive information, such as passwords, authorization credentials, or tokens.
- Variables are shared with all users on your account.
- Variables are not encrypted.
- All users in your account can edit a variable, even if they did not create or own it.
- The user who created the variable, account super admins, or the account owner can delete a variable.
Character limits
- Variable names: 128 characters.
- Variable values: 5,000 characters.
- Character counts include alphanumeric values, spaces, and other special characters.
Next steps
Once you create a variable, anyone in your account can use it by mapping it to a field in their Zap.