Skip to main content

Enrich Automatically with a Salesforce Flow

Start a FullEnrich enrichment from any Salesforce Flow, so Leads and Contacts are enriched automatically.

A
Written by Arthur Bourgeois

Beta: the Salesforce integration is in beta. To start, open Integrations > Salesforce in FullEnrich and click Book a setup call. You set it up in a call with the Product Manager of the integration, and we turn it on for your workspace during the call.

Start a FullEnrich enrichment from any Flow, so Leads and Contacts are enriched automatically. This article is for the person who builds Flows in your org.


What You Need Before Starting

  • Salesforce is connected from FullEnrich (the API key is installed at that moment).

  • A field mapping exists for the object. Without it, the action returns an error.

  • Every user whose actions run the Flow has the Admin - FullEnrich or User - FullEnrich permission set. Without it, the action does not appear in Flow Builder.


Add the action

In Flow Builder, add an Action element and search for Enrich with FullEnrich, in the FullEnrich category.

Input

Required

Notes

Record ID

Yes

A Lead or Contact ID. In a record-triggered Flow, the Id of the triggering record

Enrich Type

No

email, phone or both. Blank or any other value means email, the cheapest

Output

Notes

Enrichment Status

Pending, Missing Data or Failed

Success

true when the enrichment is queued

Error Message

Why it could not be queued. Empty on success

Only Lead and Contact are supported. Another object returns an error, the Flow does not fail.


The one thing to understand

Important: the action is asynchronous. Your Flow never sees the enriched data.

Success = true means "queued", not "enriched". Salesforce does not allow a call to an external service during a record save, so the call runs in a background job after the Flow. The results land on the record a few minutes later, and the user gets a bell notification.

  • Do not read the email or the phone later in the same Flow. It is not there yet.

  • Use Success and Error Message to catch the records that could not be queued.

  • To react to the result, build a second record-triggered Flow on Enrichment Status changing to Success.


Recipe: enrich every new Lead

  1. Start: object Lead, trigger "A record is created", run "After the record is saved".

  2. Entry condition: Enrichment Status is null.

  3. Action: Enrich with FullEnrich, Record ID = the triggering record, Enrich Type = email.

No decision, no wait, no loop. It cannot loop: the entry condition runs on creation only, and the action skips a record that is already Pending.

Tip: an automated Flow can spend credits fast. Add a real entry condition (a Lead Source, a record type, an owner) and don't enrich every record that enters the org.


Large batches

Safe on imports, mass updates and scheduled Flows. No batching to add.

  • The action only puts the record IDs in a queue.

  • Every minute, a background job merges the waiting records into one bulk job of up to 5,000 records, and skips duplicates and records already Pending.

  • 15 jobs run at the same time at most. The others wait.

  • Each job sends the records to FullEnrich 100 at a time.

Example: an import of 200,000 Leads gives about 40 jobs. A record keeps an empty status for about a minute, then Pending, then its final status. Count several hours for a very large import.

Data Import Wizard: tick Trigger workflow rules and processes, or the Flow does not run.


Credits

Checked in the background job, before anything is sent, once per job.

Enrich Type

Credits per record, only when found

email

1

phone

10

both

11

If the balance is empty, the records get the status Insufficient Credits and nothing is sent. The Flow has already answered Pending at that point.


Statuses

Status

Set by

Meaning

Pending

Background job

Sent, waiting for FullEnrich. On the record about a minute after the Flow

Missing Data

The action

Not enough information to search

Success

Background job

Data found and written

No Results

Background job

Nothing found

Insufficient Credits

Background job

No credits left

Timed Out

Background job

No answer from FullEnrich in time

Failed

Either

An error occurred

A record needs a first name, a last name, and one of company name, website or LinkedIn URL. For a Contact, the company is read from its Account.


Troubleshooting

  • The action is not in Flow Builder. The permission set is missing. The most common cause.

  • Every record is Missing Data. No company on the record. A Contact with no Account fails this check.

  • An error mentions field mapping. No field is mapped for that object. Fix it in the Field Mapping tab.

  • Records stay Pending. Normal for a few minutes. After that, check Bulk Enrich > History. An abandoned record ends as Timed Out.

  • The Flow says success and nothing is enriched. Expected: Success means queued. Check the status a few minutes later.


Need Help?

If you have questions about the Flow action, contact our support team at [email protected] or via the in-app chat.

Did this answer your question?