How to integrate with other tools on PostHog
PostHog integrates with external tools through Apps, Webhooks, and API connections available in the project settings. Navigate to the Apps tab to browse and configure integrations with popular tools like Slack, Zapier, and Salesforce.
Prerequisites
- Active PostHog account with admin access
- API keys for target tools (Slack, Zapier, etc.)
- Basic understanding of webhooks and APIs
- Project setup with event tracking enabled
Step-by-Step Instructions
Access PostHog Apps Directory
Install Your Desired Integration
Configure Authentication and Permissions
Set Up Event Triggers and Filters
event = 'user_signup' to trigger notifications only for new user registrations.Configure Data Mapping and Formatting
{{event.name}} and {{person.properties.email}}. Click Preview to test your formatting.Test the Integration
Set Up Webhooks for Custom Integrations
Monitor and Maintain Your Integrations
Common Issues & Troubleshooting
Integration fails to authenticate
Verify your API keys and tokens are correct and haven't expired. Check that you have proper permissions in the target tool. Re-enter credentials in the PostHog app configuration and ensure any required scopes are granted.
Events not triggering in connected tools
Review your event filters in the app configuration - they may be too restrictive. Check the Activity Log for delivery attempts and errors. Verify that the events you're testing actually exist in your PostHog data.
Webhook deliveries timing out
Check if your webhook endpoint is accessible and responding within 30 seconds. Verify the webhook URL is correct and the receiving service is running. Consider implementing a webhook queue if your endpoint needs more processing time.
Data mapping errors in integrated tools
Ensure PostHog property names match the expected format in your target tool. Check for special characters or spaces in property names that might cause issues. Use the data mapping preview feature to validate your configuration before saving.