Integration
Connect PostHog and Spoki
When something happens in PostHog or Spoki, your agent does the next thing in the other. Describe it and it is built, tested on every scenario and kept running.
What the catalog holds today. Ask for anything missing and your agent reads the API documentation and adds it.
Build solutions, not workarounds.
What do you want PostHog and Spoki to do together?
Ask the assistant
Connect your AI client
Give your AI client this address.
https://mcp.apiant.aiAny client that takes a remote MCP server. Nothing to install. Create your free account, then sign in once in your browser.
Set it up in your client
Claude Code
Run this in the directory you want to work in.
claude mcp add --transport http -s project apiant-ai https://mcp.apiant.aiStart Claude Code there, approve the server, and sign in in the browser page it opens.
Claude Code guide (opens in a new tab)Claude, web and desktop
Open Customize, then Connectors, then Add custom connector, and paste the address. On Team and Enterprise an owner adds it first.
Setup guide (opens in a new tab)Cursor
Add the address to your MCP configuration as a server URL. Cursor signs you in in your browser.
Setup guide (opens in a new tab)Zed
Open Settings, then AI, then MCP Servers, then Add Server, then Add Remote Server.
Setup guide (opens in a new tab)Codex and the ChatGPT desktop app
Open Settings, then MCP servers, then Add server, and choose Streamable HTTP. From the terminal, Codex takes the address with its own add command and then signs you in.
Setup guide (opens in a new tab)Any other MCP client
Paste the address where the client asks for a remote MCP server URL, and name the server apiant-ai where it lets you. APIANT's skills reach the client over the same connection.
Setup guide (opens in a new tab)Example flows
What PostHog and Spoki can do together
From PostHog to Spoki
When Action Performed in PostHog
then Add custom field in Spoki
When Action Performed in PostHog
then Add list in Spoki
From Spoki to PostHog
When New contact in Spoki
then Add annotation in PostHog
When New contact in Spoki
then Update person in PostHog
Starting points drawn from the triggers and actions in the catalog today. Describe the flow you need, at any depth, and your agent builds it and tests every scenario before it ships.
Everything your agent can do with PostHog and Spoki
Triggers and actions 2 triggers · 24 actions
Trigger
Action PerformedTriggers when an action is performed by a user.
Action
Add annotationCreate a new annotation on the project timeline (content, date_marker, scope).
Action
Capture EventCaptures an event.
Action
Evaluate feature flagsEvaluate all feature flag values for a given distinct_id/person, returning flag states for use in automation branching.
Action
Get personRetrieve a single person by ID.
Action
List annotationsList annotations in the project.
Action
List cohortsList cohorts defined in the project.
Action
List feature flagsList feature flags defined in the project.
Action
List insightsList saved insights (charts/graphs) in the project.
Action
List personsList/search persons in the project, optionally filtered by distinct_id or properties.
Action
Update personUpdate a person's properties by ID.
Trigger
New contactFires when a contact is created.
Action
Add custom fieldCreate a custom field.
Action
Add listCreates a new contact list in Spoki.
Action
Create or Update ContactCreates a Spoki contact, or updates the existing contact with the same phone number.
Action
Create webhookSubscribes a URL to a Spoki webhook event (V2 webhook). Used by the Spoki instant triggers to register their delivery URL on activation.
Action
Delete contactDelete a contact by id.
Action
Get contactRetrieve a single Spoki contact by its id.
Action
Get templateRetrieve a single Spoki WhatsApp message template by its ID.
Action
List automationsLists the automations in your Spoki account.
Action
List contactsLists the contacts in your Spoki account, including their custom field values, tags and lists.
Action
List custom fieldsLists the custom contact fields defined in the Spoki account.
Action
List listsReturns the contact lists in the connected Spoki account.
Action
List tagsList tags.
Action
List templatesLists the WhatsApp message templates in the Spoki account, optionally limited to one WhatsApp channel.
Action
Update contactUpdate a contact by id.
No trigger or action matches that. Ask your agent to add it: it reads the API documentation and builds what you describe.
Each app on its own
Reviews
What our customers say
More from PostHog
PostHog to SlackSlack is a messaging platform for teams. Post messages, manage channels, users, reminders, and react to...
PostHog to GmailGmail is Google’s email service, featuring spam protection, search functions, and seamless integration with...
PostHog to StripeStripe is a payment processing platform for online businesses.
PostHog to ShopifyShopify is a commerce platform for online stores and retail point-of-sale.
PostHog to QuickBooks OnlineQuickBooks Online accounting — manage customers, invoices, bills, payments, vendors, expenses, and more via...
PostHog to TrelloTrello is a visual collaboration tool that organizes projects into boards, lists, and cards.
More into Spoki
HubSpot to SpokiHubSpot is your all-in-one stop for all of your marketing software needs.
Salesforce to SpokiSalesforce is a leading enterprise customer relationship management (CRM) platform.
Slack to SpokiSlack is a messaging platform for teams. Post messages, manage channels, users, reminders, and react to...
Google Sheets to SpokiGoogle Sheets
Gmail to SpokiGmail is Google’s email service, featuring spam protection, search functions, and seamless integration with...
Google Calendar to SpokiGoogle Calendar is a time management tool providing scheduling features, event reminders, and integration...
Questions
PostHog and Spoki, answered
What can start an automation from PostHog?
Any of PostHog's 1 trigger in the catalog, including Action Performed. Describe the moment in plain language and your agent picks the right one.
What can your agent do in Spoki when something happens in PostHog?
Any of Spoki's 14 actions, including Create or Update Contact, Create webhook, Update contact and Add custom field. Your agent maps the data both ways and tests every scenario before it ships.
Can it also run from Spoki to PostHog?
Yes. When something happens in Spoki, your agent can act in PostHog too. This page covers both directions: Spoki's triggers and PostHog's actions are listed here as well.
Do I have to build a connector for PostHog or Spoki?
No. Both are in the catalog with their triggers and actions. You describe the automation; your agent builds it, tests every scenario and keeps it running.
What happens when something fails?
Your agent works that out for you. It plans the failure paths along with the happy path, then tests every scenario before it ships.
Is there a free plan?
Yes. Every plan includes the agent, including free, and building from your own AI client spends no assistant credits.