Hello everyone!
I am using Jotform for data intake and using a flow to import a new row to a Dataverse table. I am struggling to get the grouped fields in Jotform to import to separate fields in my table.
Address for instance. In JotForm it is a single component that contains all of the necessary fields:
However it populates it all into a single comma separated field:
I have tried using copilot to create an expression in Power Automate that will only pull a specific value from the comma separated field.
This was to pull the City component: split(triggerOutputs()?['body/19 - Traveler Address'], ',')[2]
but now I am getting an error:
And now I also realize that if the address 2 line is left blank, then it is simply omitted and then my indexed numbers would pull the wrong data. I tested the flow with data in all fields and still got this error. I am new to all of this, but I know it should be possible!
What is interesting is that when I export the data to Excel from JorForm, all of the fields are separated into their own columns. I am hoping to be able to do this in real time with the new submission flow trigger and not have to do daily batch imports manually with excel.
So my real question is: What is the proper way to import this type of data from JotForm through a triggered flow into the correct fields in Dataverse?