patch_template_text
Fix typos or update dates in existing templates by patching text nodes. Apply targeted changes without full template rebuild.
Instructions
Modify specific text nodes in an existing template without full rebuild.
Useful for small copy edits (e.g. fix a typo, update a date) without reconstructing the entire component list.
patches format: [{"id": "node_id", "new_text": "replacement text"}, ...]
Set publish=True to update the template in MoEngage immediately.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| external_template_id | Yes | ||
| patches | Yes | ||
| new_version | Yes | ||
| updated_by | Yes | ||
| subject | No | ||
| publish | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||