Skip to content
  • There are no suggestions because the search field is empty.

Testing Webhook Payloads

How to Test Webhook Payloads Using the Testing Modal

Overview

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

  1. Log into OutboundSync:
  2. Open Webhooks Tab:
    • From the sidebar, go to Webhooks tab
    • Choose an Existing Webhook or generate a new one
  3. 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

  1. 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.
  2. 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).
  3. 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:

  1. 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.
  2. 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.
  3. 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.