API Overview
Usecases
Cheatsheet

Forwarding Data to Another Database

Some specific usecases requires forwarding signals with modified structure to another database. Dimension Four supports these options described below.

Webhooks

You can setup a webhook with following properties:

mutation CREATE_FORWARDING_WEBHOOK {
webhook {
create(
input: {
name: "Data Forwarding"
endpoint: "Your lambda URL"
requestType: POST
auth: {
apiKey: {
addTo: HEADER
key: "Your-Token-Header"
value: "123456..."
}
}
entityType: SIGNAL
eventType: CREATE
}
) {
id
}
}
}

and configure custom lambda that will modify the signal structure and store the signal into 3rd-party database.

(Webhooks are not realtime. Signal has own timestamp field that should be used as date reference.)

GraphQL Subscription

Another option is to setup server instance that will listen to following subscription:

subscription SIGNAL_ADDED_FORWARDING {
signalAdded {
id
unit
type
data {
rawValue
numericValue
}
# ...
}
}

Custom Integration

Feel free to contact us at hello@dimensionfour.io in order to get custom integration with Dimension Four.

Ready to get started?