PostHog

StarAgent can send activity events to your PostHog project so you can chart missed calls, inbound texts, agent replies, staff questions, and memory updates.

Setup

  1. In PostHog, open Project settings and copy your project API key (starts with phc_).
  2. In StarAgent Setup, turn on PostHog under Integrations.
  3. Paste the project API key and Save.
  4. Host is optional. Leave blank for US Cloud (https://us.i.posthog.com). Use https://eu.i.posthog.com for EU.

Events

Each event includes source: staragent so you can filter StarAgent traffic from website events, plus lead_source for the inbound origin (phone, inbound_sms, webflow, yelp, or memory). Events also include business name and call id when available. The person id is usually the customer phone number.

call_received
forwarding_started
call_answered
call_missed_after_forward
voicemail_recorded
transcription
sms_to_customer
sms_to_owner
email_to_customer
email_to_owner
inbound_sms_received
inbound_sms_replied
clarification_asked
clarification_answered
memory_updated
review_sent
review_approved
webflow_form_received
webflow_form_replied
yelp_lead_received
yelp_lead_replied

Reply delay is not a separate event. When a reply waits, the eventual sms_to_customer, email_to_customer, or inbound_sms_replied event includes delayed and delay_seconds.

Privacy

Events may include phone numbers, transcripts, and reply text that StarAgent already stores for the call. Only enable PostHog if your PostHog project is appropriate for that data.

Related