Case Import Wizard
Objective
Solution
How It Works (User Perspective)
What we'll create
Set up
Prerequisites
Build the Screen Flow
Going further
CSV ParserData TableProgress IndicatorHeaderLast updated
Was this helpful?
This use case has some configuration prerequisites. Make sure you review the Set up section of this page before building !
Import records into Salesforce using the CSV parser
Lookup identity resolution using external Ids
Allow users to easily create Cases through a custom, no-code import wizard.
Cases are automatically linked to the correct Accounts using readable, user-friendly external IDs, eliminating the need for data loaders and technical expertise.
The solution leverages Avonni Flow components.
Service users get a streamlined Data import wizard allowing the to create multiple cases from a CSV file with a few clicks.
A Service user opens the Case Import Wizard tab, launching the screen flow
They are prompted to upload or drop their CSV file containing Cases
On the next screen, they review their data for inconsistencies before going further
The flow displays Cases ready to be created with their matched Accounts
Upon confirming, records are automatically created and the user gets a confirmation screen
2 custom fields on the Case and Account objects to hold the Account External Id
1 Screen Flow to ensure users benefit from a guided workflow
The flow will use Avonni flow components to display content
CSV Parser : this is a key component use to load and parse data from a CSV, here cases
Data Tables : used to display data as the process advances ensure full user control
The flow will use a custom Avonni Invocable Action to handle lookup resolution via an External Id field (or any key of your choice)
SObject Collection Get Record : used to match cases with accounts using an external Id field
Create 2 custom fields
Create a field on the Account object : ExternalId__c (External id)
Create a field on the Case object : Account_External_Id__c (Text)
Use the SObject Collection Get Record to match Cases with Accounts
Source collection : Accounts
Operation : FIND
Search field Api Name : ExternalId__c (Api name on the Account object)
Search value : current case's Account_External_Id__c ( {!Loop_Cases.Account_External_Id__c} )
Assign Account to current loop case record
Assign current case record to a new Case record collection variable
Use an assignment element to populate a record collection with the previous Data table's cases
Create a Case collection variable : vCasesToCreate
Assign the Data table's recordsSObjectWithoutKeyField output
This allows your users' changes to be taken into account during record creation.
Use a Create records to create all cases in the new Cases record variable
Last updated
Was this helpful?
Was this helpful?
