> ## Documentation Index
> Fetch the complete documentation index at: https://developer.jtl-software.com/llms.txt
> Use this file to discover all available pages before exploring further.

# TriggerDeliveryNoteActionEventCommandRequestInput

> Raises the automatic event of a delivery note that belongs to an action (for example created, changed or deleted), so that the workflows that listen to it run. Use it after a write call that was sent with disableAutomaticWorkflows=true. The workflows run asynchronously; their result is not reported back, read the workflow queue and log (QueryWorkflowQueueEntries, QueryWorkflowLogEntries) for it. The action keys a kind of object supports are a catalog in the workflow API design document, not an enum, so new actions are added without a contract change. Errors: DeliveryNoteNotFound (the delivery note does not exist); WORKFLOW_ACTION_UNKNOWN (422, the key is not in the catalog of the delivery note); WORKFLOW_ACTION_NOT_AVAILABLE (422, the key is known, but the workflow engine has no such event for delivery notes); WorkflowsNotLicensed (the license does not include workflows). - Request



**Kind**: `input`

## Fields

**`deliveryNoteId`**: `ID!` (required)

The ID of the delivery note.

---

**`actionKey`**: `String!` (required)

The key of the action whose automatic event is raised, for example created, changed or deleted. The keys a delivery note supports are listed in the workflow API design document.

---

**`idempotencyKey`**: `String`

Client-supplied idempotency key. When provided, a repeated request with the same key and payload replays the original result instead of re-executing the mutation.

