How do I integrate Opensend to Omnisend with a custom webhook?

Steps to integrate:

  1. Go to the integrations tab on the Opensend Dashboard
  2. Click Main Connections
  3. Click Add Destination
  4. Select Custom Webhook
  5. Add Name, Description, and Click Next
  6. Select the "Omnisend template" under the Webhook configuration dropdown
  7. Select the Webhook method (POST)
  8. Select API Key under the Authentication method dropdown and add the following details for authorization:
    1. x-api-key
    2. To get the values for x-api-key from Omnisend follow these steps:
      1. Go to the Omnisend dashboard
      2. Go to API Keys under Store Store Settings
      3. Click Create API key
      4. Name the key, select "Contacts" permissions, and click Create API key
      5. Copy the API key and add the key in the Opensend Webhook configuration

  9. Under the fields dropdown select any default fields from Opensend and any custom fields, you want to send to Custom Webhook
  10. The Custom Webhook URL is auto-filled: https://api.omnisend.com/v3/contacts
  11. Press the Send a Test request button

  12. In the popup add the email address to send as a test to Custom Webhook and Press Send

  13. You will find a test request with email you have entered in your Audience page on Omnisend
  14. Press Done to close the Popup
  15. Click Next

  16. Select the Traffic sources from where you want to receive the data
  17. Click Create Connections
  18. Select the connections and Click Publish
  19. Request Data format:
    1. For DTC: In the case of DTC product, on the bottom, you should be able to see Example request data

    2. For B2B: In the case of B2B product, on the bottom, you should be able to see Example request data and JavaScript example code you can use to post data on your end
      Note: If you are using our B2B product and you want to integrate with Bayengage/Omnisend, only the "person" additional field will be available for delivery:
      First/Last name of the contact
      Address details