Actions18
- Analytics Actions
- Data Value Set Actions
- Enrollment Actions
- Event Actions
- FHIR Actions
- Organisation Unit Actions
- Program Actions
- Tracked Entity Actions
Event → Create
AI-generatedSummary
Creates a DHIS2 tracker event by POSTing the supplied event payload to the Tracker API. Provide the required program, program stage, organisation unit, and occurrence date; enrollment and data values are optional according to the UI description.
Inputs
- Event Payload (JSON) (required) — A JSON tracker event object. The UI says it must include program, programStage, orgUnit, and occurredAt; enrollment and dataValues are optional. The example also includes status and a dataValues array.
Output shape
A single item containing the DHIS2 API response for the create request, per input item.
The node wraps the payload in an events array and sends it to /api/tracker. With Continue On Fail enabled, a failed item instead returns an error message in its JSON.