Skip to content

Sales Prospecting Webhooks

Three endpoints for sales prospecting automation. These use AnonymousAuthContextProvider with manual API key validation via X-API-Key header.

Summary Endpoint

Route & Auth

Property Value
Method POST
Path /webhooks/sales-prospecting/summary
Auth type Manual API key
Header X-API-Key
Secret SALESFORCE_AUTOMATION_SECRET_NAME
Response 200 (sync) or 202 (async with job_id)

Payload

Field Type Description
account_id string Salesforce account identifier
async_mode bool If true, returns immediately with a job_id for polling (default false)

Behavior

Triggers Salesforce account summary generation. In async mode, enqueues the job via RQ and returns a job_id for status polling.


Dust Conversation Endpoint

Route & Auth

Property Value
Method POST
Path /webhooks/sales-prospecting/dust
Auth type Manual API key
Header X-API-Key
Secret SALESFORCE_AUTOMATION_SECRET_NAME
Response 200 (sync) or 202 (async with job_id)

Payload

Field Type Description
account_id string Salesforce account identifier
assistant_id string Dust AI assistant identifier (default "dust")
async_mode bool If true, returns immediately with a job_id (default false)

Behavior

Creates a Dust AI conversation with sales prospecting context for the given Salesforce account.


Job Status Endpoint

Route & Auth

Property Value
Method GET
Path /webhooks/sales-prospecting/job/<job_id>
Auth type Manual API key
Header X-API-Key
Secret SALESFORCE_AUTOMATION_SECRET_NAME
Response 200 with job status

Behavior

Polls the status of an async job submitted via the summary or dust endpoints.

Integrations

  • Salesforce API: account data retrieval
  • Dust AI API: conversation creation

Code reference

{{ package_reference("apps.eu_tools.sales_prospecting.api") }}