This Salesforce Apex class provides a single Flow Action to:
- Enrich a Contact or Lead using Amplemarket's API (GET /people/find)
- Add the Contact or Lead to an Amplemarket sequence (POST /sequences/{id}/leads)
- Install the package in your Salesforce org:
- Create a Record-Triggered Flow on Contact or Lead.
- Add the "AmpleFlowEnrichAndSequence" Apex Action to your Flow.
- Map the following input variables:
email
(String): Email address of the person to enrich and sequenceamplemarket_api_key
(String): Amplemarket API keysequence_id
(String): Amplemarket sequence Idsequence_mailbox_email
(String, optional): Email address of the sending mailbox for the sequence- (Optional) Boolean flags for duplicate/exclusion/recency handling which default to false
- Deploy and activate your Flow.
- Takes an email address directly (no Contact/Lead lookup needed)
- Calls Amplemarket to enrich the record with:
- Personal details: name, LinkedIn URL, job title
- Company info: name, website, size, industry, and location
- Adds the record to the specified Amplemarket sequence with optional sending mailbox configuration
Note: This action does not save any state or data back to Salesforce. It only performs the enrichment and sequencing operations through the Amplemarket API.
email
(String): Email address of the person to enrich and sequenceamplemarket_api_key
(String): Amplemarket API keysequence_id
(String): Amplemarket sequence Idsequence_mailbox_email
(String, optional): Email address to use as the sending mailbox for the sequenceignore_recently_contacted
(Boolean, optional): Skip recently contacted checkignore_exclusion_list
(Boolean, optional): Skip exclusion list checkignore_duplicate_draft
(Boolean, optional): Skip duplicate check in draft sequencesignore_duplicate_active
(Boolean, optional): Skip duplicate check in active sequences
success
(Boolean): True if enrichment and sequencing succeededmessage
(String): Details or error message