{ "format": "alga-psa.workflow-bundle", "formatVersion": 1, "exportedAt": "2026-01-27T02:06:59.708Z", "workflows": [ { "key": "fixture.ticket-created-secretref-redaction", "metadata": { "name": "Fixture: Ticket Created Secretref Redaction", "description": "Send an in-app notification when the event fires (TICKET_CREATED).", "payloadSchemaRef": "payload.TicketCreated.v1", "payloadSchemaMode": "pinned", "pinnedPayloadSchemaRef": "payload.TicketCreated.v1", "trigger": { "type": "event", "eventName": "TICKET_CREATED" }, "isSystem": false, "isVisible": true, "isPaused": false, "concurrencyLimit": null, "autoPauseOnFailure": false, "failureRateThreshold": null, "failureRateMinRuns": null, "retentionPolicyOverride": null }, "dependencies": { "actions": [ { "actionId": "notifications.send_in_app", "version": 1 } ], "nodeTypes": [ "action.call", "control.return", "state.set", "transform.assign", "control.if" ], "schemaRefs": [ "payload.TicketCreated.v1" ] }, "draft": { "draftVersion": 1, "definition": { "id": "4acedb26-61f2-3e69-304c-b7ef3e6a4fca", "version": 1, "name": "Fixture: Ticket Created Secretref Redaction", "description": "Send an in-app notification when the event fires (TICKET_CREATED).", "payloadSchemaRef": "payload.TicketCreated.v1", "trigger": { "type": "event", "eventName": "TICKET_CREATED" }, "steps": [ { "id": "state-fixture", "type": "state.set", "config": { "state": "FIXTURE" } }, { "id": "assign-text", "type": "transform.assign", "config": { "assign": { "vars.marker": { "$expr": "'[fixture ticket-created-secretref-redaction]'" }, "vars.title": { "$expr": "'[fixture ticket-created-secretref-redaction] Notify'" }, "vars.body": { "$expr": "'[fixture ticket-created-secretref-redaction] dedupe=' & payload.fixtureDedupeKey" } } } }, { "id": "if-notify", "type": "control.if", "condition": { "$expr": "(payload.fixtureMode ? payload.fixtureMode : 'notify') = 'notify'" }, "then": [ { "id": "notify", "type": "action.call", "config": { "actionId": "notifications.send_in_app", "version": 1, "inputMapping": { "recipients": { "$expr": "{ \"user_ids\": [payload.fixtureNotifyUserId] }" }, "title": { "$expr": "vars.title" }, "body": { "$expr": "vars.body" }, "severity": "info", "dedupe_key": { "$expr": "'fixture.ticket-created-secretref-redaction:' & payload.fixtureDedupeKey" } } } }, { "id": "return-after-notify", "type": "control.return" } ], "else": [ { "id": "return-after-skip", "type": "control.return" } ] } ] } }, "publishedVersions": [ { "version": 1, "definition": { "id": "4acedb26-61f2-3e69-304c-b7ef3e6a4fca", "version": 1, "name": "Fixture: Ticket Created Secretref Redaction", "description": "Send an in-app notification when the event fires (TICKET_CREATED).", "payloadSchemaRef": "payload.TicketCreated.v1", "trigger": { "type": "event", "eventName": "TICKET_CREATED" }, "steps": [ { "id": "state-fixture", "type": "state.set", "config": { "state": "FIXTURE" } }, { "id": "assign-text", "type": "transform.assign", "config": { "assign": { "vars.marker": { "$expr": "'[fixture ticket-created-secretref-redaction]'" }, "vars.title": { "$expr": "'[fixture ticket-created-secretref-redaction] Notify'" }, "vars.body": { "$expr": "'[fixture ticket-created-secretref-redaction] dedupe=' & payload.fixtureDedupeKey" } } } }, { "id": "if-notify", "type": "control.if", "condition": { "$expr": "(payload.fixtureMode ? payload.fixtureMode : 'notify') = 'notify'" }, "then": [ { "id": "notify", "type": "action.call", "config": { "actionId": "notifications.send_in_app", "version": 1, "inputMapping": { "recipients": { "$expr": "{ \"user_ids\": [payload.fixtureNotifyUserId] }" }, "title": { "$expr": "vars.title" }, "body": { "$expr": "vars.body" }, "severity": "info", "dedupe_key": { "$expr": "'fixture.ticket-created-secretref-redaction:' & payload.fixtureDedupeKey" } } } }, { "id": "return-after-notify", "type": "control.return" } ], "else": [ { "id": "return-after-skip", "type": "control.return" } ] } ] }, "payloadSchemaJson": null } ] } ] }