Sending test webhook payloads with OutboundSync
Learn how the webhook payload test tool enables you to send custom payloads with OutboundSync.
This article provides a comprehensive guide on how to use the Testing Modal for webhook payloads in OutboundSync. In HubSpot, this feature allows you to generate and send sample data to test HubSpot features such as lists, workflows, reporting, and more.
Prerequisites
Before testing webhook payloads, ensure you have the following:
- An active OutboundSync account.
- Access to your organizations’ HubSpot account
- Sufficient permissions in your CRM to install OutboundSync, if you have not installed it already.
Why use OutboundSync’s testing modal?
By using the Testing Modal to generate and send sample data to your CRM, you can simulate real-world scenarios, identify potential issues, and ensure that everything functions as expected before deployment.
Common testing use cases
- Validating contact syncing: Ensure that contact details such as name, email, and company information are correctly synced between OutboundSync and your CRM.
- Testing lead routing and notifications: Simulate an email event to trigger a workflow that will route your lead to the right contact owner and/or create notifications via email or Slack.
- Testing reports: Send sample event data to verify that report data is populating as expected before real data flows through to your CRM.
How to use the testing modal
- Log into OutboundSync:
- Navigate to the OutboundSync dashboard and log in using your credentials. https://app.outboundsync.com/
- Open Webhooks Tab:
- From the sidebar, go to Webhooks tab
- Choose an Existing Webhook or generate a new one
- Launch the Testing Modal:
- Locate and select the Sync Test button for the webhook you want to test.
- The testing modal will open, allowing you to simulate and send test data.
Configuring your test in the modal
- Select the HubSpot Event Type:
- Choose from event types that are compatible with HubSpot (e.g., Email Sent, Email Open, Email Link Click, Email Reply, Email Bounce, Lead Category Updated, & Lead Unsubscribed).
- Selecting an event will generate sample data specific to that event type, ensuring the webhook payload mirrors real data.
- Generate Sample Data:
- The Testing Modal will automatically generate sample data for the selected event type.
- If needed, you can customize the data to test specific scenarios (e.g., testing edge cases like empty fields or unexpected input).
- Send the Test Payload:
- Once your event type and sample data are configured, click Test Sync.
- The modal will simulate sending the sample data to your HubSpot endpoint, mimicking a real webhook event.
Verifying Your HubSpot Integration
After sending the test payload, you can validate the integration in HubSpot:
- Check Lists and Workflows:
- Navigate to your HubSpot account and review the lists and workflows that are linked to the event type you tested.
- Ensure that the sample data triggered the expected behavior, such as adding a contact to a list or activating a workflow.
- Analyze Reports:
- Look at your HubSpot reports to see if the incoming sample data was correctly logged. This is particularly useful for ensuring that data such as customer attributes or event tracking metrics are properly reflected in your reports.
- Review the Delivery Logs:
- In OutboundSync’s History tab, check the delivery logs to confirm that the payload was successfully delivered and processed by HubSpot. The logs will show request and response details, including status codes and any errors encountered.
Troubleshooting tips
- Sample Data Not Appearing in HubSpot: Double-check that your webhook URL is correctly configured in the Webhook Settings. Make sure it’s going to the right HubSpot portal.
- Unexpected CRM behavior: Make sure that your CRM automation is set up to trigger based on the criteria defined in the sample data (e.g., a specific contact property like “from email” or “campaign name”).
Conclusion
The Testing Modal in OutboundSync is a powerful tool that simplifies the process of verifying your CRM integration. By generating and sending sample data, you can confidently test your automation, ensuring that your integration is ready for real-world use.