Run After Another Enrichment
Start an enrichment now and have it run on each contact as soon as another enrichment fills the field it needs.
Some enrichments need a field that another enrichment fills. Find Mobile Phone needs a Linkedin URL, which the LinkedIn Profile URL Finder fills. Find Email Address works better with a company website, which Website Enrichment fills.
You don't have to wait for the first run to finish. Add wait_for to the second call and it starts right away, but only runs on each contact once that contact has the field it needs.
How it works
Call any list enrichment (the routes ending in
_list) withwait_forset. Nothing runs yet, and the response haswaiting_forwith the name of the enrichment it waits on.About once a minute, contacts that just got the field are sent to the enrichment.
Each contact is sent once, never twice.
It stops on its own when the enrichment it waits for has finished and every contact it found has been sent, when no contact it covers is still missing the field, or after 24 hours.
It keeps the rows you picked: view, saved_view, search and filters work the same as on a normal run.
wait_for values
linkedin
LinkedIn Profile URL Finder
Linkedin URL
website
Website Enrichment
Company website
email
Find Email Address
personal_email
Personal Email Enrichment
Personal email
phone
Find Mobile Phone
Mobile phone
company_from_domain
Enrich Company From Domain
Company Linkedin
Any other value returns 422. Leave wait_for out to run now, as usual.
Example
Start the LinkedIn Profile URL Finder on a list, then right away start Find Mobile Phone so it runs on each contact as their Linkedin URL is found.
POST /mobile_phone_enrichment_list
rows_selected and credits_estimated are null because it isn't known yet how many contacts will get the field.
Follow and stop it
Running Enrichments shows the waiting run with how many contacts it has sent so far.
Stop an Enrichment stops it. Contacts already sent finish and are charged; nothing else is sent.
Check List Status and Download List Data work the same as for any list run.