@absolutejs/engagement-apollo

中文文档
0.0.17发布于 2026/11/03Apache-2.0TypeScriptES Module构建来源已验证近 30 天下载 1739

Apollo.io EngagementSource adapter for @absolutejs/engagement — person/company enrichment and outreach activity (emails sent/opened/replied) from the Apollo API.

原始使用文档
文档目录4 节
  1. Capabilities
  2. License
  3. Company research
  4. Bounded people reveals

@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

MethodApollo endpointNotes
enrichPersonPOST /v1/people/matchConsumes an enrichment credit per match.
enrichCompanyGET /v1/organizations/enrichDomain required.
listActivitiesPOST /v1/emailer_messages/searchPlan-gated — engagement API access varies by Apollo plan. Returns [] if unsupported; verify field mapping against a live account before relying on it.

Company enrichment preserves provider identity and annual revenue with observation time and provider-estimate attribution. Apollo documents organization.annual_revenue as an estimate in USD; the adapter preserves that denomination. It does not infer currency from the company location.

Company enrichment returns null for no match (404), throws RateLimitError for 429, and throws EngagementProviderError for authentication, permission, server, or malformed-response failures. Errors exclude raw response bodies and credentials. Person/activity endpoints retain their existing behavior.

License

Apache-2.0.

Company research

searchCompanies({ domain?, name?, limit?, signal? }) reads one bounded page (default 5, maximum 100) without contact reveals or implicit enrichment. Apollo charges one credit per page; meter each successful call. Errors are explicit, including scope/authentication failures, so an unavailable search is not “no data.” enrichCompany also accepts website and linkedinUrl; requests have a 30-second timeout and accept cancellation.

Company intelligence retains provider-reported ownership, subsidiaries, retail locations, industries, technologies, funding, source URL and observation time. Missing fields remain null/empty, never inferred. Funding is not revenue, locations are not customers, and organization revenue is not necessarily subscription ARR. Apollo does not establish a vendor's pricing cadence or comparable business scope. Use companyIdentityMatch / selectCompanyIdentity from the engagement contract to require an independently returned exact domain and a compatible brand name; ambiguous provider records must not be merged based on revenue size.

Bounded people reveals

People searches can request maxMatches: 1 to stop sequential reveals after one usable result. With requireEmployerMatch: true, a result counts only when it has a name, title, employer and the requested company domain. Rejected records remain in people for caller validation.

Results expose revealsAttempted, revealsConfirmed and per-ID outcomes. A later reveal failure throws PersonSearchPartialError; use isPersonSearchPartialError to recover successful results and accounting. Confirmed responses include explicit no-match responses. An unknown outcome must retain its reservation and must not be automatically retried. The error retains its original cause without copying provider response bodies into its message.

版本与发布记录

@absolutejs/engagement-apollo 共发布 17 个版本,首次发布于 2026/06/10;过去 12 个月发布了 17 个版本。最新版本附带 npm provenance 构建来源证明,可追溯到公开的 CI 构建记录。

版本发布日期距今
0.0.17latest2026/11/036 天前
0.0.162026/11/027 天前
0.0.152026/11/027 天前
0.0.142026/11/027 天前
0.0.132026/10/2912 天前
0.0.122026/10/2812 天前

关于 @absolutejs/engagement-apollo 的常见问题

@absolutejs/engagement-apollo 是什么?

Apollo.io EngagementSource adapter for @absolutejs/engagement — person/company enrichment and outreach activity (emails sent/opened/replied) from the Apollo API.

如何安装 @absolutejs/engagement-apollo?

在项目目录运行 npm install @absolutejs/engagement-apollo,或使用 pnpm add / yarn add / bun add。它还需要宿主项目提供 peer 依赖:@absolutejs/engagement(>=0.0.11 <0.1)。npm 7 及以上与 pnpm 8 及以上默认会自动安装必需的 peer 依赖,Yarn 需要手动安装。

@absolutejs/engagement-apollo 支持 TypeScript 吗?

支持。包内自带 TypeScript 类型声明(package.json 声明了 types 入口),安装后即可获得类型提示,无需再安装 @types 包。

@absolutejs/engagement-apollo 支持 ESM 还是 CommonJS?

以 ES Module 形式发布,推荐使用 import 引入。在 CommonJS 项目中,Node.js 20.19+ / 22.12+ 可以直接 require() 不含顶层 await 的 ES Module,更早的版本需要改用动态 import()。

@absolutejs/engagement-apollo 可以商用吗?

@absolutejs/engagement-apollo 使用 Apache-2.0 许可。宽松许可:允许商业使用、修改和再分发,并附带明确的专利授权;分发时需保留许可与 NOTICE 文件,修改过的文件要注明改动。以上为概括,不构成法律意见,请以许可原文为准。

@absolutejs/engagement-apollo 的下载量有多少?

根据 npm 官方下载统计,@absolutejs/engagement-apollo 在 2026/10/05 – 2026/11/03 这 30 天内被下载 1,739 次,日均约 58 次。下载量会把 CI 构建、镜像同步和作为其他包依赖的安装一并计入,适合横向比较热度,不能直接等同于使用人数。

@absolutejs/engagement-apollo 还在维护吗?

最新版本 0.0.17 发布于 2026/11/03(6 天前);至今共发布 17 个版本,其中过去 12 个月发布了 17 个;首次发布于 2026/06/10。发布频率只是参考信号:功能稳定的工具可能很少需要更新,建议结合源码仓库的 issue 和提交记录判断。