HubSpot Connector
Inbound
- Request target:
POST /v1/connectors/:installationId/invoke - Auth: connector-scoped Veritrellis API key
- Workspace/environment must match the connector installation
subscriptionTypecan be normalized intoplatform_action
Action mapping
Create bindings where:
platform_action_namematches HubSpot action/event nameaction_templateis a canonical Veritrellisaction_typefield_mapping_jsonmaps inbound fields to authorize shape
Example mapping:
{
"resource_ref": "objectId",
"payload.customer_id": "properties.email",
"payload.amount": "properties.amount",
"payload.currency": "properties.currency",
"payload.reason": "properties.reason",
"payload.original_charge_id": "properties.charge_id"
}
Outbound relay
After allow (or post-approval allow), Veritrellis sends one HTTPS POST to installation outbound destination with:
veritrellisenvelope (request_id,decision, optionalpermit)platformpayload echo
Use idempotency keys and a domain allowlist on installation config for safe replay behavior.
Response model
Connector invoke responses follow authorize semantics:
allowedpending_approvaldenied(withreason_code)