Journey entry and exit
Entry sources, entry criteria, re-entry modes, goals and exit criteria of a Marketing Cloud Engagement journey.
A private bank wants to send its quarterly portfolio report with a journey. What decides which client comes in, how many times it can come in, and what takes it out before the end?
Where a contact comes in from
The entry source on the canvas tells Journey Builder where the customers coming in come from, and “each journey must include an entry source”. The canvas, the versions and activation belong to the Journey Builder page. A vocabulary warning: what starts an automation is a starting source, a different thing and the business of the Automation Studio page.
| Entry source | What it takes as its audience, according to Help |
|---|---|
| Data Extension | A sendable data extension — a table marked as eligible for sends — whose contacts come in as a batch; it accepts a filter, or the whole table comes in |
| Audience | A list of contacts: push audiences, SMS (short message service) audiences and published Audience Builder audiences, an application the sources cited here name without defining. They are created and edited in Contact Builder, and Help limits them to accounts provisioned for Journey Builder and Contact Builder at once |
| Event (the article is titled “The Contact Event Entry Source”) | Data about customer behavior. The records Journey Builder evaluates live in a data source it monitors on the schedule you set |
| Date-based event | A date value stored in Contact Builder. The cases Help names are birthday and anniversary campaigns, subscription dates and the last time a contact opened or used an app. Anyone without a contact record in Marketing Cloud Engagement is not admitted |
| API Event | Whatever an API (application programming interface) sends it; the contacts coming in are stored in the chosen data extension. Help gives the step with the value’s name: “use the Event Definition Key to connect this journey to your API”, the Event Definition Key |
| CloudPages | A Smart Capture form, a name the sources cited here use without defining: on submitting it, the customer is added to a data extension and queued to enter |
| Salesforce Data | An action in Sales Cloud or Service Cloud, such as creating or updating a record, that injects the contact into the journey |
| Mobile App Event | User actions in the mobile app. Help notes that these events are not stored in a data extension |
| Inbound Chat Message | Contacts who send one of the chosen keywords to the app channel |
Of audiences Help gives a dated warning: those created before the January 2018 release keep working but cannot be edited, and for the functionality that was there it says to use the data extension entry source.
An event can be journey-specific or shared between several, created in Entry Source Administration — Help also calls it reusable — and one that at least one journey uses can no longer be deleted. Of Contact Data Events it warns that “in an upcoming release, Contact Data Events aren’t supported”, with no date, and says to replace them with the data extension entry source in one article and with audiences in two others, with this page choosing neither.
Two things Help closes on activation: the entry source configuration can be reviewed, but not edited without pausing or stopping the journey and creating a version; and an activated journey “uses a snapshot of the entry source data extension”, so it does not detect fields added afterwards. Before, Test Mode tests the event “without contacts entering a live journey and receiving messages”, only with ones no journey has used and never with the Salesforce Data or date-based ones. Testing the whole journey is the business of the Journey Builder page.
When a table’s audience comes in
With a data extension as the entry source, the intake is not “everyone at once”. Journey Builder evaluates it from the first row until the existing ones are exhausted and, on firing the event again, carries on from where it stopped; that prevents, Help says, those already inside from coming in again “if their contact record is unchanged”. The pointer is independent per business unit: when an entry source uses the table for the first time in another unit, it starts at the first row.
Three routes admit contacts from that source: the API, Automation Studio’s Fire Event activity — the business of the Automation Studio page — and the event’s schedule. If that schedule repeats, a processing option has to be chosen.
| Option | What it does, according to Help |
|---|---|
| Evaluate new records only | Evaluates only the contacts added since the previous run; processes faster. On when to use it Help says that “this evaluation option is typically used when a process exists to add new rows to the source data extension without deleting or overwriting existing rows”. And the warning that costs a campaign: refreshing a filtered data extension — one of the table types the Data Extensions page covers — overwrites all records, and of that combination Help says “we don’t recommend”, not that it cannot be done |
| Evaluate all records | Evaluates the whole table on every run; processes more slowly. Help reserves it for tables under continuous update |
The filter applied on entry
The entry criterion is written as a filter: an expression with an attribute, an operator and a value, and “contacts that meet filter conditions are admitted”. Help calls that the entry criteria.
The trap is which data it reads. Journey Builder offers two sets: contact data, the attributes as they are at evaluation, and journey data, as they were when the contact entered. Since journey data occurs after activation, Help says, it is no good in an entry source filter. Encrypted fields and attributes that allow nulls are no good either when comparing two attributes with each other.
What gets logged is not symmetrical either.
| What you look at | What it counts |
|---|---|
| Contacts Evaluated | The contacts evaluated for entry. With a data extension entry source and a filter, only those meeting the criteria are logged: a zero may mean nobody met them |
| Contacts Accepted | Those that met the criteria and were admitted |
| Rejected Contacts | Those not accepted, plus failed event statuses. Help includes here anyone meeting the goal or the exit criteria |
| The record of the rejection | A data extension entry source does not log those who fail; an API or a legacy contact event does, with the status DidNotMeetEntryCriteria |
| The window | Results cover the previous 30 days, and the View Rejected Contacts link does not appear when all contacts were accepted |
How often the same contact enters
The contact entry mode decides when a contact is eligible to enter, and Journey Builder checks whether it is unique by its contact key. Three values, quoted from Help.
| Mode | What Help says |
|---|---|
| No re-entry | “Contact enters journey one time. Even if the contact completes a journey, the contact isn’t entered again” |
| Re-entry at any time | “Contact can enter the journey multiple times, even if they’re already in the journey. There’s no maximum number of instances of the contact in a journey” |
| Re-entry only after exiting | “Contact can enter the journey only if they’re not currently in the journey. There’s a maximum of one instance of the contact in a journey” |
The setting belongs to the journey and holds for each version, but the three values are not treated alike on activation: of No re-entry Help says it applies across all versions and that “after you activate the journey, you can’t change this option”; the other two are swapped for each other by creating another version. What that new version does to the contacts already inside is the business of the Journey Builder page. What the quote says cannot be changed is the setting.
Two more limits: Test Mode does not support No re-entry, so another is used for testing, and the setting is not configurable in a Single Send journey. To identify the contact coming in as unique there is also the transaction key, which Help limits to custom events and builds on ContactID or ContactKey; how it is configured no source here says.
The goal, and what meeting it does
A goal is, in Help’s words, “a measurement of customer actions that you want to promote”, measured against a goal target given as a total number or as a percentage. It is defined with a filter on contact data, and Help sets the ceiling: “only one goal can be created per journey”.
Meeting a goal takes nobody out on its own: that is decided by the Exit Option checkbox. With it selected, Journey Builder evaluates each contact against the goal target at the end of each wait activity, the one that holds the contact for the duration configured on it before it carries on; without it, Help says, the goal is not evaluated while the contact is in the wait, and whoever meets it neither exits the queue early nor is ejected. That is the precision that governs in this node. And Help closes that paragraph with a cadence whose scope it does not pin down: “contacts are evaluated every 24 hours”.
The four exits, and what each one leaves behind
Help splits the roles unambiguously: goals to measure attainment, exit criteria to remove contacts. An exit criterion is, in its words, a filter on contact data attributes that can remove “customers who no longer fit the journey’s purpose or for whom the journey’s content is no longer relevant”, and it is evaluated for each contact in the journey as their time in each wait expires. That they are four exits is this page’s count, not a list any source publishes.
| How it exits | What it leaves behind, according to Help |
|---|---|
| Meeting the goal with Exit Option selected | The contact is tracked and measured against goal performance: it counts as attainment |
| Matching an exit criterion | “Exit criteria simply removes the contact”; it is logged and the count of contacts removed from the current version is visible. It is removed on the first criterion matched, even if it meets several. The criteria can be defined differently for each version. To remove one already defined, Help gives the step with the journey in Draft — “click Remove this Exit Criteria when the journey is in Draft mode” — and says nothing about the other states, so neither does this page. And it recommends “fewer than 20 filter criteria” for performance |
| Reaching the end of the path, through the canvas’s Exit activity | Help’s example is the contact who receives every message and never does what the goal measures: it exits in the time allotted with that activity and “wouldn’t be counted as achieving the goal” |
| Someone removing it by hand, with Remove from journey | To allow it, Help says, you add the Activate/Stop/Pause/Resume/Send/Schedule permission to the user’s Journey Builder role. No cited source says whether that contact can enter again |
Those removed are seen in the health panel, with the current population, the contacts in a wait activity at that moment; and searching by contact key, the path of the last 30 days and whether the contact exited early or finished. Before activation, journey validation checks the entry source, its schedule, the settings and the goals and exit criteria.
What to choose in each case
The split into rows is this page’s reading: no source publishes a decision table between entry modes or between a goal and a criterion.
| What is asked for | What Help indicates |
|---|---|
| That nobody goes through twice, ever | No re-entry, knowing the setting cannot be changed after activation |
| That it can repeat, but not be inside twice at once | Re-entry only after exiting, with a maximum of one instance |
| That it comes in every time something happens, even while inside | Re-entry at any time, with no maximum number of instances |
| Measuring how many reach the milestone without touching their path | A goal without Exit Option: it neither evaluates during the wait nor ejects |
| Taking out whoever reaches the milestone and counting it too | A goal with Exit Option selected |
| Taking out whoever no longer fits the journey’s purpose | An exit criterion: “exit criteria simply removes the contact” |
| Joining several tables into a single entry audience | A SQL (structured query language) query in Automation Studio that writes the entry table |
| Taking out one specific person already inside | Remove from journey, with the matching permission |
Example: who enters the quarterly portfolio report
A private bank sends a portfolio report every quarter to the clients of the service, and wants the right one to come in, to be able to come back the next quarter without being inside twice, and whoever leaves the service to go out. An invented case; the order of the six steps is this page’s proposal, not Help’s.
- The audience. A sendable data extension, one row per client, with the client identifier — a Text field — as the primary key, which is also the contact key and the subscriber key. If the data lives in several tables, Help asks you to unify it first with a query.
- The entry filter. On contact data, never on journey data. Which attributes there are to choose from depends on what is linked in Data Designer, the business of the Contact Builder page; no source here says how a field of the entry table comes to be one.
- The entry mode. Re-entry only after exiting, which allows one instance. No re-entry is ruled out: the setting cannot be changed after activation.
- The schedule and the processing. Quarterly. With Evaluate new records only, only the rows added since the previous run come in, so the client whose row already exists does not come back that way; for the whole table there is Evaluate all records, which Help reserves for tables “continually updated”. That one rebuilt every quarter is one is this page’s reading.
- The goal. Just one: that the client opens the report. Without Exit Option if the aim is to measure, since with it whoever meets it stops receiving the rest.
- The exit criterion. That the client leaves the portfolio service: Help says it removes the contact and that the removal is logged.
The example does not promise the client’s return: the row-pointer quote speaks only of the contact “if their contact record is unchanged” and none says what happens when the row does change, so that is checked in the account. None says either what happens to the messages already sent to whoever exits, nor whether a hand-removed client can enter again.
Before activating in production
- Entry source closed, and no field added to its table while the journey is active (see “Where a contact comes in from”).
- Entry filter written with contact data only (see “The filter applied on entry”).
- Processing option matched to how the table is refreshed (see “When a table’s audience comes in”).
- Entry mode decided, with No re-entry chosen deliberately (see “How often the same contact enters”).
- Exit Option checkbox selected or not on purpose (see “The goal, and what meeting it does”).
- Exit criteria under 20 criteria (see “The four exits, and what each one leaves behind”).
- Entry event tested with Test Mode, within its limits (see “Where a contact comes in from”).
- Journey validation passed (see “The four exits, and what each one leaves behind”).
Official sources
- Entry Sources — Salesforce Help (opens in a new tab)
- The Contact Event Entry Source — Salesforce Help (opens in a new tab)
- Events and Data Extensions — Salesforce Help (opens in a new tab)
- Configure the Data Extension Entry Source — Salesforce Help (opens in a new tab)
- Selecting a Data Extension for Entry — Salesforce Help (opens in a new tab)
- The Audience Entry Source — Salesforce Help (opens in a new tab)
- Admit Contacts Via an API — Salesforce Help (opens in a new tab)
- Use CloudPages to Admit Contacts into Journey Builder — Salesforce Help (opens in a new tab)
- The Salesforce Data Event — Salesforce Help (opens in a new tab)
- Inbound Chat Message — Salesforce Help (opens in a new tab)
- Create a Filter — Salesforce Help (opens in a new tab)
- Choose How to Process Entry Source Data — Salesforce Help (opens in a new tab)
- Entry Results — Salesforce Help (opens in a new tab)
- View Rejected Contacts — Salesforce Help (opens in a new tab)
- Journey Settings — Salesforce Help (opens in a new tab)
- Choose a Contact Entry Mode — Salesforce Help (opens in a new tab)
- Goals in Journey Builder — Salesforce Help (opens in a new tab)
- Set a Goal in Journey Builder — Salesforce Help (opens in a new tab)
- Exit Criteria — Salesforce Help (opens in a new tab)
- Define Exit Criteria — Salesforce Help (opens in a new tab)
- View a Contact Path in a Journey — Salesforce Help (opens in a new tab)
- Journey Health — Salesforce Help (opens in a new tab)
- Test an Entry Event — Salesforce Help (opens in a new tab)
- Validate a Journey in Journey Builder — Salesforce Help (opens in a new tab)
- Entry Source Administration — Salesforce Help (opens in a new tab)
- Confirm Journey Entry — Salesforce Help (opens in a new tab)