n8n Integration
Step-by-step guide to integrate Beyond Presence webhooks with n8n workflows
Overview
n8n is a powerful workflow automation tool that can receive and process Beyond Presence webhooks. This guide shows you how to set up n8n to handle webhook events and automate your workflows.
Prerequisites
- n8n instance (cloud or self-hosted)
- Beyond Presence account
Step 1: Create Webhook Node
- Add Webhook Node: In your n8n workflow, add a “Webhook” node
- Configure Settings:
- Set HTTP Method to
POST
- Set Path to a unique identifier (e.g.,
/beyond-presence-webhook
) - Leave Authentication as
None
(Beyond Presence doesn’t send auth headers yet)
- Set HTTP Method to
- Copy Webhook URL: Copy the generated webhook URL from the node
Your webhook URL will look like: https://your-n8n-instance.com/webhook/beyond-presence-webhook
Step 2: Configure Beyond Presence
- Go to the Beyond Presence dashboard
- Navigate to webhook settings
- Paste your n8n webhook URL and save the configuration
The system will automatically test your endpoint with a test payload.
Step 3: Handle Different Event Types
Add a Switch node after your webhook to handle different event types:
Switch Node Configuration
Use the following value to switch on:
Create branches for each event type:
message
- Real-time message eventscall_ended
- Call completion events
Step 4: Process Message Events
For real-time message processing, add nodes after the “message” branch:
Extract Message Data
Use a Set node to extract relevant data:
Example: Send Slack Notification
Add a Slack node to send real-time notifications:
Step 5: Process Call Ended Events
For call completion processing, add nodes after the “call_ended” branch:
Extract Call Summary
Use a Set node to extract call data:
Example: Save to Database
Add a database node (PostgreSQL, MySQL, etc.) to store call data:
Templates
Here is a list of templates to quickly get started with n8n and Beyond Presence:
- Analyze BeyondPresence Video Calls with GPT-4o-mini and Google Sheets
- BeyondPresence Sales Intelligence → Real-Time Lead Scoring
- AI-Powered HR Interview System with BeyondPresence
Advanced Tips
1. Conditional Processing
Use IF nodes for conditional logic.
For example, to only process messages from users (and not agents), define a condition that checks whether
is equal to
the string user
.
2. Data Transformation
Use Code nodes for complex data processing:
Testing Your Workflow
- Test with n8n: Use the “Test Workflow” button to trigger with sample data
- Live Testing: Save your webhook URL in Beyond Presence and make a test call with one of your agents
- Monitor Executions: Check the execution log in n8n for any errors
Troubleshooting
Resources
Pro Tip: Start with a simple workflow that just logs webhook data, then gradually add more complex processing as you understand the data structure and your requirements.