Skip to main content
Question

load csv data into a running workflow to a variable

  • November 14, 2025
  • 11 replies
  • 70 views

mshealy
Established Contributor
Forum|alt.badge.img+11

I want to load the data from a CSV file into a running workflow to populate a variable so that I can use that data inside the workflow.  i tried create a variable from csv but are doing something wrong as its failing.

Thanks for any assistance

11 replies

JohnSantos
Guru
Forum|alt.badge.img+21
  • Guru
  • November 14, 2025

@mshealy 

That could be failing for many different reasons.  Do you have any more information on what the error is or what is not doing? 

The most common reason is a mismatch between CSV column headers and Variable property names.  CLM is case-sensitive and spacing-sensitive too.


mshealy
Established Contributor
Forum|alt.badge.img+11
  • Author
  • Established Contributor
  • November 14, 2025

This is the variable and csv file. 

 


mshealy
Established Contributor
Forum|alt.badge.img+11
  • Author
  • Established Contributor
  • November 14, 2025

@JohnSantos any ideas?

 


JohnSantos
Guru
Forum|alt.badge.img+21
  • Guru
  • November 14, 2025

@mshealy 

  1. You have two columns on the CSV file without a name.  Removed them if you don’t need them.
  2. Remove blank rows at the bottom of the CSV.
  3. Check for trailing spaces or hidden characters from headers in the CSV.
  4. Delete invisible BOM characters by saving the CSV as UTF-8 without BOM.
  5. Confirm that you’re targeting the correct variable in the workflow: use PartyListCSV.party, not PartyListCSV.
  6. Confirm your workflow step is “Set Variable from CSV” and not “Set Variable from Data”.

 


mshealy
Established Contributor
Forum|alt.badge.img+11
  • Author
  • Established Contributor
  • November 14, 2025

I only have these two steps to choose from

Create variable from csv

Update variable from csv

I don’t have a set variable from csv step option.


JohnSantos
Guru
Forum|alt.badge.img+21
  • Guru
  • November 14, 2025

@mshealy 

Show me a screenshot of your “Create Variable from CSV” configuration.


mshealy
Established Contributor
Forum|alt.badge.img+11
  • Author
  • Established Contributor
  • November 17, 2025

@mshealy 

Show me a screenshot of your “Create Variable from CSV” configuration.

 


mshealy
Established Contributor
Forum|alt.badge.img+11
  • Author
  • Established Contributor
  • November 18, 2025

@JohnSantos 


JohnSantos
Guru
Forum|alt.badge.img+21
  • Guru
  • November 18, 2025

@mshealy 

I think you are pointing the output to the wrong variable level. In your Output, choose PartyListCSV.party.  And run it again.


mshealy
Established Contributor
Forum|alt.badge.img+11
  • Author
  • Established Contributor
  • November 19, 2025

I have it running but it is only return one row. ​@JohnSantos 

 


JohnSantos
Guru
Forum|alt.badge.img+21
  • Guru
  • November 20, 2025

@mshealy 

It looks like your CSV has some hidden characters after the first row.  That’s why CLM will import only one row.  You need to normalize the file by removing any hidden tabs and unused columns.  Did you remove columns O and P?