Setting Up Webhook to Sync Data from Primero to Another App

Hi everyone,

I’m working on a project involving Primero and need some assistance with setting up a webhook to sync data between Primero and another external application. The goal is to trigger an event in Primero (e.g., a record update or creation) and have the data automatically sent via a POST request to the external app’s endpoint.

If anyone has experience with webhook setup in Primero or syncing data to external apps using webhooks, I would really appreciate your guidance!

Thanks in advance for your help!

In a past project we implemented the Primero webhook to:

  1. Forward Primero cases updates in real-time to OpenFn (open source integration/workflow automation app)
  2. And then used OpenFn to map this data to downstream systems (e.g., a connected health system, reporting tools)

Last I checked there wasn’t a web interface for configuring this webhook and it was a backend change in the code base that our Primero developers helped us with… unless @childprotectioninnov anything has changed for Primero admins?

I think this is the config code that needs to be updated in the backend: primero/spec/services/api_connector/webhook_connector_spec.rb at main · primeroIMS/primero · GitHub

1 Like