Account matching
When an account job reads a record from a source, Owlie decides which identity the record belongs to. A record that is already linked to an identity keeps that link. Every other record goes through the job's matching rules, which can link it to an existing identity, create a new one, or park it for an administrator's decision.
Linked accounts stay linked
Once an account is linked to an identity, later syncs resolve it through that link and never match it again. The link holds when the account's email changes and when you edit the matching rules. Moving accounts to another identity is always an explicit action. See Two identities for one person.
On a job that manages a resource, a linked account can also become an assigned resource of the identity. That step is account adoption, which is separate from deciding who the account belongs to.
Write matching rules
Open the job from Admin > Integrations > Sync, select the Behavior tab, and select Rules on the Match Identity step. In Match identity, select Add rule and fill in:
- Owlie field: the identity value to compare. You can choose identity fields such as
Email, Display Name or Department, and attributes whose type is text or email, such
as Employee ID (
employee_id) or a custom attribute. - Source expression: the value from the source record, written in OXL, such as
workerIdorprimaryEmail. - When it matches a former employee: what the rule does when it matches someone who has left. See Matches to former employees.
Prefer a stable key that the source issues and never reuses, such as an employee ID or a directory object ID. An email address or a name can change, can be shared, and can pass from a leaver to a new hire. A sign-in email is never a matching field.
Attributes that people can edit on their own profile, such as a preferred name, pronouns or a mobile phone number, can't be matching fields. Owlie doesn't offer them in Owlie field and refuses to save a rule that uses one. Otherwise someone could set their own value to a colleague's, and the next sync would link the colleague's accounts to them. For the same reason, an attribute can't be made editable by people while any sync job matches on it.
How Owlie applies the rules
Rules run from top to bottom:
- The first rule that matches exactly one identity decides the match.
- A rule that matches several identities narrows the search: later rules can only choose among those candidates.
- When no rule narrows the candidates to one, the record is ambiguous. Owlie parks it as Ambiguous with its candidates and never creates another identity, whatever No Identity Match Action says.
What happens next depends on the job's actions:
- Matched Identity Action: Update identity writes the record's mapped attributes to the matched identity. Ignore identity links without updating.
- No Identity Match Action: Create identity creates an identity from the record, Flag parks the record as No match, and Ignore skips it.
Parked records wait on the Unmatched accounts page. Investigate correlation problems explains each reason and how to resolve it.
Matches to former employees
A former employee is an identity whose lifecycle state is TERMINATED. Matching rules consider
former employees like anyone else, so a returning person is found and an address reused for a new
hire is caught. Each rule's When it matches a former employee setting decides what a match to
exactly one former employee means:
| Setting | What Owlie does |
|---|---|
| Review (default) | Parks the record as Former employee, with the leaver as the candidate. Nothing is linked, created or updated. Use it for email and name rules: an address or a name alone can't tell a returning person from a new hire who inherited it. |
| Reactivate | Treats the record as a rehire: links it to the former employee and, with Update identity, updates them. Use it for a stable key. The Workday, BambooHR and Microsoft Entra ID connectors set it on their employee ID rules. |
| Treat as new | Ignores former employees for this rule, as if they weren't there. A later rule may match, or No Identity Match Action applies, which usually creates a new identity. |
Reactivating a former employee never restores their sign-in. Updated HR data can move their
lifecycle state off TERMINATED, but their Owlie Status stays disabled until an administrator
enables it. See Rehiring someone who
returns.
A Review match doesn't stop later rules, so rule order can't block a rehire. When a later rule set to Reactivate matches the same former employee, it reactivates them. When a later rule matches someone else instead, Owlie parks the record with all of them as candidates. A rule that matches a former employee and a current identity together is ambiguous under Review and Reactivate.
Someone already signs in with the address
Before Create identity creates an identity, Owlie checks whether anyone who isn't terminated already signs in with the record's email. This happens when someone signs in through SSO, or accepts an invitation, before the source syncs them, and the job matches on a stable key alone. Instead of creating a second identity for that person, Owlie parks the record as Sign-in email match, with the person who signs in as the candidate. A rule on Email would match that person through their email instead.
Accounts that aren't people
Shared mailboxes such as info@ and service accounts shouldn't link to a person. On a job that
manages a resource, open the Derive State step and fill in Account is a person when with
an OXL expression, such as type = 'user'. When it evaluates to false for an account that isn't
linked yet, Owlie parks the account as Not a person instead of matching it or creating an
identity from it. An account that is already linked stays linked. Left empty, every record counts
as a person. No built-in connector fills it in for you.
Accounts of a removed identity
When an identity is removed, its accounts stay linked to it and are never matched again, so a leaver's account is never handed to the next person with their address. If the source still reports one of those accounts as active, Owlie parks it as Identity removed so that someone decides who is accountable for it. Once the source reports the account as inactive, the parked row closes on its own.
Probable duplicates
A rule set to Reactivate trusts its key to name one person. When a sync finds two or more identities holding the same value of such a key, Owlie raises a probable-duplicate alert naming them. Email and name rules never raise it, because those values can legitimately be shared. See Two identities for one person.