Webhooks
How another system sends records into Engage the moment something happens, and how Engage tells your other systems when an account, a donation or another record is created or changes.
You meet webhooks whenever one system has to hear about something the moment it happens: a gift made on your website that should be in Engage within the minute, or a donation entered in Engage that your finance system needs to know about. A webhook is a short message one system sends to a web address belonging to the other, as soon as something happens, with the details of what happened. Nobody exports, uploads or presses anything.
Engage works with webhooks both ways. It takes them in through its imports, and sends its own to the systems your organization chooses.
Coming in
Another system sends records to Engage by webhook through a feed, which brings them into an import queue. Receiving data by webhook covers setting up the feed, the address the other system sends to, and what happens when Engage turns a delivery away. Connecting a website N3O didn't build covers a website of your own.
Some services, such as Mailchimp, SendGrid and Jotform, send their webhooks in a format of their own, which a feed's usual address doesn't read. N3O sets up the Engage end for each one. When you ask your N3O contact to do this, you agree with them on:
- the queue the service's records arrive in, which is a queue for accounts;
- how Engage recognizes the account each record is about, such as by its email address;
- what each record changes on that account;
- what happens to a record Engage can't match to one account.
N3O then gives you the address to enter in the other service. Use that address, not the one shown beside Post to on the queue, because the queue's own address doesn't read what the service sends. If you agreed that records Engage can't match should wait for a decision, decide on each one in the queue, as Records that didn't import shows. Mailchimp unsubscribes, SendGrid unsubscribes and Jotform submissions cover what's particular to each service.
Going out
Engage can tell another system when something happens to a record, such as an account being created or a donation changing. Your organization adds the web address of each system that wants to know, and chooses which events each one is sent. Each of these addresses is called an endpoint. The events cover accounts, donations, regular and scheduled giving, pledges, sponsorships, feedbacks, qurbanis and reports to donors, among others.
When one of an endpoint's events happens, Engage sends it a message. The message names the event and gives the record's details as they are at that moment. The other system then decides what to do with it. If Engage can't reach the address, it tries again several times over the following days. Events that happen while an endpoint is deactivated aren't sent to it, even once it's activated again.
Endpoints are added in Settings › Data › Webhooks.
A list's records
A list can send its records to another system by webhook too, through the Webhooks connection. An endpoint is sent the events chosen for it, while the Webhooks connection sends only the records a list picks out.