APIs and SaaS
Typed CSV → Salesforce account upserts
Validate the complete customer CSV before any write. Call a reusable subprocess per record and bind its Salesforce activity to the exact crm_salesforce connection. Simulation never calls Salesforce.
Last verified 2026-10-31 at f4ce7d0 — simulation fixtures
Studio activation is a one-time payment of USD 20.
Flow
Drawn at build time from the node positions in the template's process definitions. Numbered markers are the walkthrough stages.
Scroll sideways to see the whole flow.
List the 4 activities and 3 transitions
Activities
- Start
start - Parse CSV types, quoted cells and dates
format.parse - Upsert each typed customer in a subprocess
foreach - Return result
end
Transitions
- Start → Parse CSV types, quoted cells and dates (on success)
- Parse CSV types, quoted cells and dates → Upsert each typed customer in a subprocess (on success)
- Upsert each typed customer in a subprocess → Return result (on success)
Scroll sideways to see the whole flow.
List the 4 activities and 3 transitions
Activities
- Start
start - Normalize name and ID
data.mapper - Upsert using unique external ID
salesforce.upsert - Return result
end
Transitions
- Start → Normalize name and ID (on success)
- Normalize name and ID → Upsert using unique external ID (on success)
- Upsert using unique external ID → Return result (on success)
Walkthrough
- Parse CSV types, quoted cells and datesParse CSV types, quoted cells and dates
- Upsert each typed customer in a subprocessUpsert each typed customer in a subprocess
What you will practise
- Inspect each field position, data type and required rule.
- Run with known sample input and inspect expected versus actual results.
- Add an independent editable copy without activating live external connections.
Sample cases
2 cases with 7 assertions, run with python -m server.integration examples --all in simulation.
Quoted separators and multiline names preserved
PassedRun the actual format and mapping engine; external operations use explicit simulation fixtures.
Expected result Quoted separators and multiline names preserved — every expected result is checked.
4/4 assertions
- Process succeeded
- First name normalized without splitting quoted cell
- Second external ID
- Upsert fixture accepted
This sample run only; not a production certification.
Invalid credit prevents all account writes
Expected failure verifiedRun the actual format and mapping engine; external operations use explicit simulation fixtures.
Expected result Invalid credit prevents all account writes — every expected result is checked.
3/3 assertions
- Process failed
- Validation failure
- Subprocess loop not invoked
This sample run only; not a production certification.
Prerequisites
- Runtime
- Cohuno runtime 1.27.0, the version recorded when these cases last passed.
- Starter
- Manual start; no listener.
- Optional dependencies
- None beyond the base runtime.
- Simulation fixtures
crm_salesforcesalesforce · salesforce.upsert
Verification details
Provenance
What was verified, and when. The content part changes whenever the pack, a process in its closure, the runtime version or a case result changes; the gallery check then fails until the gallery is regenerated and the changed templates are verified again.
Verified content
- Pack SHA-256
8c930e3a71ef54bd76107858eb3af4af81a2108f604f4d9b31721a393f7fab5c- Closure SHA-256
bbe741bc977d65bfa8b2a6d9bca4ccf5d82f3bef5e5c9b0f73bb4fddf7f3c907- Runtime
1.27.0- Results
- 2/2 cases, 7/7 assertions, mode simulate, external calls: none.
- Files in the closure
server/integration/example_packs/csv_salesforce_onboarding.jsonserver/integration/templates/csv_salesforce_onboarding.jsonserver/integration/templates/salesforce_customer_child.json
Verification event
- Commit
f4ce7d08eedc90267b405ed1974344153a8b3a34- Verified at (UTC)
2026-10-31T21:19:21Z
How the Cohuno team reproduces this check
PYTHONPATH=. python -m server.integration examples --example csv_salesforce_onboarding PYTHONPATH=. python scripts/export_public_gallery.py --check