SK SKYVVA Documentation

7. How to use Copy Node in Skyvva Inbound Integration

Introduction

In some integration scenarios, a single source record may need to be transformed into multiple records in Salesforce. The Copy Node function (also referred to as Duplicate Node) in the Skyvva graphical Mapping Tool allows a single target object node to be duplicated, enabling one inbound payload — from flat source data such as CSV, JSON, or XML — to create multiple Salesforce records, each mapped independently.

When applied, Skyvva duplicates the node and auto-generates a child interface for each copy — no manual interface creation or custom logic required.

image

This tutorial walks through the complete setup and test flow for the Copy Node feature:

Step-by-Step Guide

Follow these steps in order. Each step maps directly to the overview flow above:

Step 1: Initial Setup

Step 2: Mapping

Go to the Interface details and open the Mapping tool. Perform the following mappings for both target objects: image Configure the field mappings for each node as follows: image

Step 3: Save Mapping

Interfaces are created automatically after saving the mapping, Skyvva automatically creates the corresponding interfaces: No manual interface creation is needed for the child objects — Skyvva generates them from the Copy Node.

Step 4: Change Child Interface Operation from Upsert to Insert

After saving, Skyvva auto-generates a child interface for each CaseComment node, inheriting the Upsert operation from the parent interface by default. However, CaseComment does not have an External ID field — it is always a new record created as a child of a Case, so Insert.

To do this for each child interface (CaseComment Original and CaseComment Copy):

Note: This applies specifically to objects like CaseComment that do not support External IDs. For objects that do support External IDs (such as Case), Upsert remains valid and should be kept.

Step 5: Post Data from Postman

With all interfaces configured, send your JSON data to the Skyvva API V4/integrate endpoint using Postman.

Ensure your payload includes all required fields for both Case and CaseComment. Example payload structure (JSON):

{
    "caseExternalId": "C-10045",
    "subject": "Login Issue",
    "description": "User unable to login to portal",
    "priority": "High",
    "comment1_text": "User reported issue at 9 AM",
    "comment1_author": "Support Agent A",
    "comment2_text": "Support team has started working on this case.",
    "comment2_author": "Support Agent B"
}

The response returns 200 OK with three completed operations:

A single POST to the Skyvva API V4/integrate endpoint successfully produced all three records. image

Step 6: Verify in Message Monitoring and Navigate to Salesforce Records

After posting, open Message Monitoring in Skyvva to verify the records were processed successfully. From the monitoring record, you can navigate directly to the created records in Salesforce to confirm the data is correct. image

In Message Monitoring, the sObject column displays the Salesforce object for each processed record. Click on Case to navigate directly to the Case record in Salesforce. The following confirms the integration worked correctly:

image

Summary

The Copy Node function in Skyvva allows a single inbound payload to generate multiple Salesforce records within a single interface — child interfaces are auto-generated, no manual creation required. In this guide, one JSON payload produced a Case and two linked CaseComment records via the Skyvva API V4/integrate. The same approach can be extended to any target object that requires multiple record inserts from a single payload.
Open this article in the interactive viewer →