Webhooks
Connect ContextFile.ai to your favorite tools with real-time webhook notifications. Get instant updates when events happen on your profile.
What are Webhooks?
Webhooks are automated messages sent from ContextFile.ai to your specified URL when something happens. Instead of constantly checking for updates, you receive instant notifications that can trigger actions in your other tools and services.
Available Events
context.createdcontext.updatedcontext.deletedcontext.viewedcontext.copiedprofile.updatedSetting Up Webhooks
Step 1: Go to Webhooks
Navigate to the Webhooks page from the sidebar menu under Team Features.
Step 2: Add Webhook Endpoint
Click "Add Webhook" and enter the URL where you want to receive notifications. This should be an endpoint on your server that accepts POST requests.
Step 3: Select Events
Choose which events should trigger the webhook. You can select multiple events or subscribe to all events.
Step 4: Verify Signature (Optional)
Enable webhook signatures for security. We'll include a signature header that you can use to verify requests came from ContextFile.ai.
Webhook Payload
Example payload for context.viewed event:
{
"event": "context.viewed",
"timestamp": "2024-01-15T10:30:00Z",
"data": {
"context_id": "ctx_123abc",
"context_name": "Professional Context",
"viewer": {
"country": "US",
"referrer": "chatgpt.com"
}
}
}Integration Ideas
Slack Notifications
Get Slack messages when someone views or copies your context. Great for tracking engagement in real-time.
CRM Integration
Sync context interactions to your CRM to track leads and interested parties.
Custom Analytics
Send webhook data to your analytics platform for deeper insights beyond built-in analytics.
Zapier/Make Workflows
Connect to thousands of apps using Zapier or Make webhooks for no-code automation.
How AI Experts Use Webhooks
- Use webhooks to sync context updates to your CRM or internal tools
- Set up Slack notifications when your context gets high engagement
- Integrate with Zapier or Make for no-code automation workflows
- Track context copies to identify leads or interested parties
- Use webhook data for custom analytics beyond the built-in dashboard
- Implement retry logic in your webhook handler for reliability