Webhook Integration

Learn how Bipsync's Rules engine can trigger webhooks to your system.

Bipsync's Rules engine allows users to trigger actions when certain events occur in Bipsync. One of these actions we support is to call a webhook, which sends a custom payload to a specified URL. This payload can contain data relating to the event, such as the title and content of a note that was modified.

Payloads can be XML or JSON, and they're rendered with Mustache. Therefore by encoding data placeholders with {{}} characters, they'll be converted to the corresponding values of the related document when the webhook is invoked.

For example consider the following JSON template:

{
  "data": {
    "type":"notes",
    "attributes": {
      "description": "{{ document.note.content }}",
      "effectiveDate": "{{ document.created.sec }}",
      "title": "{{ document.title }}"
    },
    "author": {
        "data": {
          "type":"system-users",
          "id":"{{ document.user._id }}”
        }
      }
    }
  }
}

These templates allow you do detail the exact structure of the request to adapt it to your consuming web-service.

The list of available properties is long, here is an example of some typical objects in Bipsync:

Research

PropertyDescriptionUsage
titleNote title{{document.title}}
idNote ID{{document._id}}
contentThe body of a note{{document.content}}
userThe user that owns the note. Returns a User object.{{document.user}}

Category

PropertyDescriptionUsage
nameName of the category{{document.name}}
idCategory ID{{document._id}}
classificationClassification ID of the category{{document.classification}}
tickerTicker for companies{{document.ticker}}

Project

PropertyDescriptionUsage
nameName of the project{{document.name}}
idProject ID{{document._id}}
stageStage ID of the project{{document.stage}}

User

PropertyDescriptionUsage
nameName of the user{{document.name}}
idProject ID{{document._id}}
emailEmail address of the user{{document.email}}

Configuration

All the configuration for webhooks are contained within the Bipsync Rules interface:

Networking requirements

Full support for any HTTPS server with a valid certificate chain listening on any port.

Requests are sent almost real-time after the condition is met.

The source of the requests will be from your installation instances within the AWS EC2 cloud.