Convert to escaped string

This quick action converts JSON input (or text and JSON) to an escaped string that can easily be transmitted or stored.

  1. In your workflow editor, click + Add step.
  2. Select Integrations > Quick action.
  3. Click Configure.
  4. Select the Convert to escaped string operation.
  5. Select the JSON object as data reference (click {}) or enter JSON object and /or array. You can convert one object per operation.
  6. (Optional) Toggle to remove the outer JSON brackets.
  7. (Optional) Select the JSON output and/or input strings as variables to use in later steps.
  8. Save your changes.

Your output string with the outer brackets removed might look like the following:

"{\"official INPI registration: {{INPI}}\\nInformation provided by customer: {{Forest}} \"}"

Convert to JSON object

  1. In your workflow editor, click + Add step.
  2. Select Integrations > Quick action.
  3. Click Configure.
  4. Select the Convert to JSON object operation.
  5. Select an escaped or a regular JSON string as data reference (click {}) or enter the string manually. It might look like the following: json JSON "{\"name\": \"John\", \"message\": \"Hello world\"}"
  6. (Optional) Toggle to remove the outer JSON brackets.
  7. (Optional) Select the JSON output and/or input strings as variables to use in later steps.
  8. Save your changes.