My plugin is a fork of the JSON Merge Fields plugin by Noblemen. I optimized the code and, for the clientside pluging, use the JSONlint library to help with JSON parsing errors. I'll be expanding this to with my own features
----- Original Description Below -----
This plugin allows you to take a string containing placeholders (eg. {{merge tags}}) and replace these placeholders with corresponding values from a provided JSON object. It also includes the ability to remove unused merge fields from a string. This is very useful for AI prompt templates, emails, or user personalization.
Free
For everyone
stars • 0 ratings
8 installs
This plugin does not collect or track your personal data.
----- Original Instructions Below -----
Client-side element usage: 1. Drag 'JSON Merge Fields' element onto the page and ensure it is visible 2. Set element properties (JSON, input string, tag format) 3. Access output from the element's 'output' state
Client-side workflow usage: 1. Ensure the 'JSON Merge Fields' element is on the page and visible 2. Add a 'Merge fields from JSON' workflow action 2. Set workflow properties (JSON, input string, tag format) 3. Access output from the element's 'workflow output' state
Server-side workflow usage: 1. Add a 'Merge fields from JSON (SSA)' workflow action 2. Set workflow properties (JSON, input string, tag format) 3. Access output from the workflow action's 'Result of step X's output' state
Types
This plugin can be found under the following types: