Receiving Contacts and Tags With a Webhook

With a webhook, another system, such as your web shop or form builder, automatically sends contacts and tags to Inboxify. A webhook is a fixed web address. As soon as something happens in that system, such as a new order or a completed form, it sends a message to that address. Inboxify turns that message into a contact or gives a contact tags.

You’ll find webhooks under Settings > Webhooks.

What can a webhook do?

  • Add contact: adds or updates a contact, for example after an order or a form.
  • Add tags: gives an existing contact tags, for example after a purchase. The contact must already be on the list.

Click New webhook to start. You go through five steps.

Step 1: Type

Choose what the webhook should do. Then, if you like, choose which system you’re connecting: Shopify, WooCommerce, Lightspeed eCom, Tally, Elementor, Zapier / Make or Connect it yourself. If you choose a system, Inboxify fills in the security and fields for you. In step 4 you also see exactly what to do in that system.

Step 2: List and confirmation

Give the webhook a name and choose the List. Under Fixed tags you add tags that every contact from this webhook gets.

For Add contact you also choose how new contacts are confirmed:

  • Always send a confirmation email (default): new contacts first get an email to confirm their subscription. Choose the confirmation email. If you choose a default email, also fill in the sender’s name and email address.
  • Subscribe directly: only choose this if the other system already asked for consent.
  • From the message: the message decides per contact what happens. You set this up in step 5.

Step 3: URL and security

From this step on, the webhook is saved. You see the Webhook URL. Copy it with Copy.

Note: Only use this URL between servers, never in a form on your website.

Does your system support a signature? Then switch on Verify signature (HMAC). Inboxify checks for every message that it really comes from your system and refuses messages without a valid signature. Fill in the Header name and the Secret. You’ll find the secret in your system’s webhook settings.

Tip: If you choose Subscribe directly without a signature, anyone with the URL can subscribe contacts. In that case, switch on HMAC.

Step 4: Test message

On the left you see what to do in your system, with the URL. Send a test message from your system, for example with a test order or by filling in the form. As soon as the message arrives, the page moves on by itself. The test message does not create a contact yet: Inboxify only processes messages that arrive after you switch the webhook on.

Don’t want to wait? Click Continue later. The webhook stays on Waiting for test, and you continue later by clicking it in the overview.

Step 5: Map fields

For each Inboxify field, choose the matching field from the test message, or fill in a Fixed value. The Email address is required.

  • Inboxify makes suggestions, shown with a dashed border. Accept a suggestion with the check mark or reject it with the cross. Or click Accept all suggestions.
  • With Transformation you adjust a value, for example with Remove spaces, Lower case, Recognise date or Recognise country.
  • Under Tags, a contact always gets the fixed tags. With Add rule you add tags from the message or a fixed tag. All outcomes are combined.
  • Did you choose From the message in step 2? Then under Consent choose the field with the newsletter choice and what happens for each value: Subscribe directly, Send confirmation email, Only update or Skip.

On the right, Dry run shows what the test message would result in. All good? Click Switch on. The webhook is now Active.

Note: Under Consent you can add customers without newsletter consent based on the customer relationship. This is only allowed if the contact placed an order in this message, you only email about your own, similar products or services, the customer could say when ordering that they want no email, and every email contains an unsubscribe link.

Tip: Read Managing a Webhook to learn how to change or switch off a webhook, or see the messages that came in.