When you set up your Zap action, you can use static or dynamic values in the action fields.
- Static values: Enter a value into an action field or select an option from a dropdown menu so the Zap sends the same value to your action app every time it runs.
- Dynamic values: Connect a field from one step to another step in your Zap so the Zap sends a different value to the second step every time it runs.
The action of using dynamic values is called "mapping fields". When you map fields, the value in the second step changes based on data from the previous step.
If your Zap creates a new lead in your customer relationship management (CRM) app whenever a customer signs up for an event, you can:
- Type a value like “April Block Party” into the Lead Source field. When the Zap runs, it will send “April Block Party” to the Lead Source field every time it creates a new lead. This is a static value, as it will be the same value every time the Zap runs.
- Select a field like the phone number field from your event signup app to send to the phone number field in your CRM action. When the Zap runs, it will send whatever phone number your lead signed up with, changing each time the Zap runs. This is a dynamic value.
You can use both static and dynamic fields in an action.
Mapping fields is a powerful tool to build dynamic and flexible workflows.
Map fields
To map fields when you set up your Zap action:
- Click the plus sign icon in the field you want to map a field to. A swing out menu will open.
- In the swing out menu, select one or more fields from a previous step that has the information you want to use.
In the previous example, when you click on the phone number field in the CRM action, the dropdown menu will show all fields received from the signup form that triggered the Zap. Clicking any of those fields will map them to the phone number field in the CRM action. So, when someone fills out the phone number field in your signup form, the Zap will send their phone number to your CRM.
Limitations
- You can only map fields from a previous step to a subsequent step. You can’t map fields from a later step to a previous step.
- If you reorder or duplicate action steps or paths within a Zap or copy and paste triggers and actions across Zaps, you must re-map your fields in those steps.
- When a step errors, it will not generate any output.
- Any fields in subsequent steps that are mapped to the errored step will not receive any data, including any error handlers.