Add Idempotent Workflow Note
Perform Add Idempotent Workflow Note through MyForms.
myforms_add_workflow_note_secondarywrite
Use in a workflow
Copy the discovered node config and fill its params from the input contract. Validate the complete graph before publishing. Integration results use {{node_id.default.field}}. Check business success before dependent writes; completion alone does not prove success.
{
"_group": "MyForms",
"params": {
"category": "Patient Notes",
"is_sticky": false,
"account_profile": "secondary",
"timeout_seconds": 180
},
"handler": "myforms_add_workflow_note_secondary"
}Inputs
- Workflow Id
workflow_idtextrequiredRequired text value.
- Note
notetextarearequiredRequired text value.
- Is Sticky
is_stickybooleanOptional true-or-false value.
Default:
false - Category
categorytextOptional text value.
Default:
"Patient Notes" - Idempotency Key
idempotency_keytextrequiredRequired text value.
- Account Profile
account_profileselectOptional selected identifier or value.
Default:
"secondary"Options: Secondary ("secondary")
- Timeout Seconds
timeout_secondsnumberOptional numeric value.
Default:
180
Outputs
successSuccessnote_addedNote AddedskippedSkippedidempotency_keyIdempotency Keynote_idNote IderrorErrorerror_messageError Message
Output schema completeness: best_effort_declared
Safety
- External effect
- write
- Confirmation recommended
- No
- Retry safe
- No
- Dry run supported
- No
Schemas
These schemas are first-pass authoring guidance. Runtime validation remains authoritative.
Input schema
{
"type": "object",
"required": [
"workflow_id",
"note",
"idempotency_key"
],
"properties": {
"note": {
"type": "string",
"description": "Required text value.",
"x-workflow-field-type": "textarea"
},
"category": {
"type": "string",
"default": "Patient Notes",
"description": "Optional text value.",
"x-workflow-field-type": "text"
},
"is_sticky": {
"type": "boolean",
"default": false,
"description": "Optional true-or-false value.",
"x-workflow-field-type": "boolean"
},
"workflow_id": {
"type": "string",
"description": "Required text value.",
"x-workflow-field-type": "text"
},
"account_profile": {
"enum": [
"secondary"
],
"type": "string",
"default": "secondary",
"description": "Optional selected identifier or value.",
"x-workflow-field-type": "select"
},
"idempotency_key": {
"type": "string",
"description": "Required text value.",
"x-workflow-field-type": "text"
},
"timeout_seconds": {
"type": "number",
"default": 180,
"description": "Optional numeric value.",
"x-workflow-field-type": "number"
}
},
"additionalProperties": false
}Output schema
{
"type": "object",
"properties": {
"error": {},
"note_id": {},
"skipped": {},
"success": {},
"note_added": {},
"error_message": {},
"idempotency_key": {}
},
"additionalProperties": true
}