Skip to main content
Version: 2

Plinqx Design Studio

info

Available: Base

Overview

Plinqx Design Studio lets you design, test, and save JSON-to-JSON transformations using a visual designer. A typical use case is taking a Salesforce record (source JSON) and transforming it into a target system payload (destination JSON).

Design Studio supports:

  • Generating Source JSON from a Salesforce SOQL query
  • Defining a Destination JSON template
  • Visually mapping fields between source and destination
  • Applying transformation logic using Fixed Value, Formula, Flow, or Apex
  • Testing the transformation with sample JSON and viewing the transformed output
  • Saving transformations as reusable Mappings

Design Studio overview


Key concepts

Transformations

A Transformation is the overall mapping definition that connects a source payload to a destination payload.

On the left panel you can:

  • Browse existing transformations
  • Refresh the list
  • Create a new transformation

Transformation details

Source JSON and Destination JSON

  • Source JSON: The input payload (often generated from Salesforce data).
  • Destination JSON: The output payload template (your target structure).

You can maintain both JSON and their generated schemas in the Source tab.

Source JSON generated


  1. In Plinqx, open Design Studio from the top navigation.
  2. Select a transformation in the left panel, or click + New to create one.
  3. Use the tabs across the top of the workspace:
    • Designer: Visual mapping canvas
    • Source: Source/Destination JSON + schema
    • Save Mapping: Save mapping metadata and publish the mapping
    • Test: Run a transformation preview

Create or update a transformation

Step 1 - Select (or create) a transformation

  1. In the left panel, choose an existing transformation.
  2. (Optional) Click + New to create a new transformation.

Tip (Admins/Configurators): Use meaningful names and descriptions. These show up to other users when selecting mappings.


Define the Source JSON

Option A - Generate Source JSON from SOQL

  1. Open the Source tab.
  2. In Source JSON, click Generate JSON from SOQL.
  3. In the SOQL Designer:
    • Select an Object Type (e.g., Account)
    • Select fields to include
    • Review the query preview
  4. Click Validate Query (recommended).
  5. Click Generate JSON.

SOQL Designer object selection

SOQL Designer query preview

After generation, the Source JSON panel is populated.

Source JSON generated

Option B - Paste Source JSON

You can paste your own JSON into Source JSON if your payload is coming from another system.


Define the Destination JSON

  1. Still in the Source tab, locate Destination JSON.
  2. Paste or type a JSON structure that represents your target payload.
    • Start with a minimal template if needed
    • Add keys for the fields you intend to map

Destination JSON started

Destination JSON completed

Best practice (Configurators):

  • Keep destination keys consistent with the target API contract.
  • Prefer a stable destination structure; adjust mappings rather than constantly reshaping the output.

Design field mappings

Step 1 - Open the visual designer

  1. Open the Designer tab.
  2. Confirm your Source and Destination blocks are present on the canvas.

Design Studio overview

At the top of the designer you can select a Link Type (for example: ToNode, Normal, ToGroup). Use the option appropriate for how your mapping should connect nodes (single field mapping vs grouped mapping).

If you are unsure, start with Normal for standard field-to-field mapping.

Step 3 - Configure mapping logic for a destination field

When you configure a mapping rule (e.g., by clicking a destination node/field), you can choose the rule Type:

  • Fixed Value: Output a constant value
  • Formula: Calculate a value using the formula builder
  • Flow: Delegate logic to a Salesforce Flow (invoked by Plinqx)
  • Apex: Delegate logic to an Apex class/method (for advanced cases)

Mapping rule type selector

Formula mapping rules

When Type = Formula, you can:

  1. Select a Return Type
  2. Pick a function from the Functions dropdown
  3. Build your formula
  4. Provide a Sample Input Value (optional but helpful)
  5. Click Validate Formula
  6. Set Active to enable the rule
  7. Click Save

Formula mapping rule

Admin/Configurator notes

  • Use Formula for simple transformations (string manipulation, conditional logic, formatting).
  • Use Flow/Apex when you need:
    • Multi-step logic
    • External lookups
    • Complex conditional routing
    • Reusable enterprise logic with governance

Test the transformation

  1. Open the Test tab.
  2. Review the Source JSON (input) on the left.
  3. Click Transform.
  4. Review the Transformed Result on the right.

Transformation test preview

Tip: If the result is empty or missing fields, confirm:

  • Destination JSON contains the keys you are mapping to
  • Your mapping rules are Active
  • Your source JSON contains the fields your rules reference

Save and label the mapping

  1. Open the Save Mapping tab.
  2. Provide:
    • Name (mapping name)
    • Source Label (friendly label shown to users)
    • Destination Label (friendly label shown to users)
    • Description
  3. Click Next to proceed through the save flow.

Save mapping dialog

Save mapping details filled

Best practice (Admins/Configurators):

  • Use consistent naming conventions (e.g., Salesforce Account -> SAP BU (v1)).
  • Put key assumptions in the description (required fields, constraints, intended use).

Troubleshooting

"Invalid JSON" or blank schema

  • Ensure your JSON is valid (matching braces/quotes).
  • Regenerate schema if the JSON structure changed.

Formula won't validate

  • Confirm the Return Type matches your output expectations.
  • Add a Sample Input Value if the function needs one.
  • Simplify and validate incrementally.

Transform returns no output / missing fields

  • Confirm mappings are saved and rules are Active.
  • Ensure destination keys exist in Destination JSON.
  • Verify the source JSON includes the expected fields.

Glossary

  • Transformation: A configured mapping between source and destination payloads.
  • Mapping Rule: The logic used to populate a destination field.
  • Schema: A structural definition of the JSON (used for designer assistance and validation).
  • SOQL Designer: Helper tool to generate sample JSON from Salesforce objects using a query.