Hey guys,
Apologies for the delayed response here. I see it’s already created (awesome!!) but figured I’d still post a quick response on how it’s usually set up.
You fire this Phantom (https://phantombuster.com/phantombuster/6988/sales-navigator-search-export) and put in some dynamic data (your li_at cookie, search_url, amount of leads, etc.)
Store the unique container_id Phantombuster gives you
Zapier f.e. has a listener that checks when the Phantom is finished
Once finished, grab the output. Important: if you scrape below a certain amount of leads, you’ll receive a JSON response with the details of those leads. If you scrape above a certain amount of leads you’ll receive a JSON response with links to a .csv and a .json
All JSON responses need some work because of the way PB structures them, but they’re usable.
My workflow then would be to parse these responses and use a different API to enrich the data (anymailfinder, which finds these people their email based on name+company name).
Hope that makes sense!