Overview
The GET Profile node fetches a user’s Courier profile and attaches it to the automation run context. After this node runs, profile data is available viarefs.profile in subsequent steps.
Set the user ID to a dynamic value from the data object, such as refs.data.user_id.
When You Need This Step
Not all trigger types automatically load the user’s stored profile into the automation context. Use a GET Profile step when your workflow relies on profile fields (for example, in If/Switch conditions or template personalization) and the automation is started by one of these triggers:| Trigger | Profile auto-loaded? | GET Profile needed? |
|---|---|---|
API invoke (/automations or /journeys) | Yes | No |
| Segment | Yes | No |
| Audience match | No | Yes |
| Schedule | No | Yes |

Ad Hoc Usage
Use theget-profile step in an ad hoc automation to load a user’s profile before sending:
Merge Strategy
After theget-profile step, the user’s stored profile fields (email, phone, custom attributes) are available in the automation context. The merge_strategy field controls how fetched data combines with existing context data (defaults to soft-merge):
| Strategy | Behavior |
|---|---|
soft-merge | Merge fetched fields into existing context; existing fields are preserved (default) |
replace | Replace the entire context path with fetched data |
overwrite | Overwrite all properties from fetched data |
none | Do not modify context if the path already has data |