Skip to content
Pyck docs

sendCustomEvent

Since pyck v0.27.0

Served by: management

Name Type Default Description
input SendCustomEventInput!

SendCustomEventResponse

Publishes a custom event for an entity id in the mutation’s tenant. The workflow signal router starts or signals every workflow registered for the event’s type and operation. Requires the WRITER role on the tenant.

mutation SendCustomEvent($input: SendCustomEventInput!) {
sendCustomEvent(input: $input) {
eventCount
success
transactionID
}
}

Variables

{
"input": {
"operation": "create",
"payload": {
"data": {
"key": "value"
},
"id": "<random UUID>"
},
"type": "brunoExample"
}
}