Whop
Let the AI agent answer your Whop support chats as a team member you choose.
Connect Whop to let Octocom's AI agent answer the support chats customers open with your shop in Whop. Each chat becomes a conversation on the Whop channel in Octocom, and the AI agent's replies appear in the same Whop chat under a team member you choose. When someone on your team replies in Whop, the AI agent steps back.
Each Whop shop is a separate Whop account with its own API key. Connect each shop in the Octocom business that handles it. One Whop shop can be connected to one Octocom business.
Create an API key in Whop
- In your shop's Whop dashboard, open Developer -> Account API Keys and select Create.
- Choose a custom permission set and enable:
support_chat:read: read support chats.support_chat:message:create: reply in support chats.support_chat:create: resolve chats when Octocom closes a conversation.company:authorized_user:read: identify your shop and list the team members Octocom can reply as.developer:manage_webhook: receive new messages in real time.- Optional:
payment:basic:read, so your custom actions can look up payments and refunds.
- Create the key and copy it.
A Whop API key cannot send chat messages on its own. Octocom uses it to create a short-lived login for the team member you choose, limited to support chats, and replies as that person. Use a dedicated team member such as "Support" so your team can tell the AI's replies apart. The same Whop user can reply for several shops if they are on each shop's team.
Connect in Octocom
- Open Settings -> Workspace -> Integrations -> Whop, paste the key and select Connect.
- Choose the team member Octocom replies as.
- Turn on AI replies and save. Octocom subscribes to new Whop messages and the AI starts answering new customer messages right away. Existing chats are picked up when the customer next writes.
- Select Check setup at any time. It checks the key, support chat access, the reply user and webhook delivery, and names any missing permission.
Turn AI replies off to pause the Whop channel without losing the connection: Octocom stops receiving Whop messages and sending replies, including your agents' replies from the Octocom inbox. Uninstall removes the key and Octocom's webhook in Whop. Conversations stay in Octocom.
How conversations work
- Each Whop support chat maps to one Octocom conversation. When a conversation is closed, the next customer message starts a new one.
- Closing a conversation in Octocom resolves the chat in Whop.
- When someone on your team replies in Whop, the conversation is handed off and the AI stops. Their reply is saved in the Octocom conversation.
- Replies your agents send from the Octocom inbox are posted in Whop as the chosen team member.
- Whop's automated messages, such as order receipts and welcome messages, are ignored.
- Octocom stores the customer's Whop user ID, username and chat ID as conversation
metadata (
whopUserId,whopUsername,whopChannelId), so actions can look up their payments. - Attachments, GIFs and polls stay in Whop. In Octocom the message says the customer sent one, so the AI agent and your team know to check the Whop chat.
Use Whop in custom actions
get_integration_credentials
returns the whop entry with apiKey and accountId. Call
https://api.whop.com/api/v1 with Authorization: Bearer {apiKey}, for example
GET /payments?account_id={accountId}&user_id={whopUserId} to find a customer's
payments and refunds.
For developers and AI agents
Copilot and MCP clients can use connect_whop, list_whop_team_members,
configure_whop, check_whop_setup, get_whop_connection and disconnect_whop.
The REST API offers the same under
/rest/v1/businesses/{businessId}/integrations/whop.