@absolutejs/engagement-apollo
v0.0.1
Published
Apollo.io EngagementSource adapter for @absolutejs/engagement — person/company enrichment and outreach activity (emails sent/opened/replied) from the Apollo API.
Maintainers
Readme
@absolutejs/engagement-apollo
Apollo.io adapter for @absolutejs/engagement.
import { apolloSource } from "@absolutejs/engagement-apollo";
const apollo = apolloSource({ apiKey: process.env.APOLLO_KEY! });
// Enrichment
const person = await apollo.enrichPerson?.({ email: "[email protected]" });
const company = await apollo.enrichCompany?.({ domain: "acme.com" });
// Outreach activity (what's been sent / opened / replied) for a contact
const activity = await apollo.listActivities?.({ contactEmail: "[email protected]" });Capabilities
| Method | Apollo endpoint | Notes |
| --- | --- | --- |
| enrichPerson | POST /v1/people/match | Consumes an enrichment credit per match. |
| enrichCompany | GET /v1/organizations/enrich | Domain required. |
| listActivities | POST /v1/emailer_messages/search | Plan-gated — engagement API access varies by Apollo plan. Returns [] if unsupported; verify field mapping against a live account before relying on it. |
All calls fail soft: a non-2xx response or an unexpected shape returns null / []
rather than throwing, so a consumer can treat the source as best-effort.
License
Apache-2.0.
