Hello. I have a long and awkward string that I would like turned into JSON objects that can be selected as dynamic data later on in my flow. Here's the string:
"Sharepoint Link: https://FF.sharepoint.com/:f:/s/PDRRTeam\nRequestor: Benjamin Grimm\nRequestor Email: Benjamin.Grimm@FF.com\nRequested on: 6/8/2023 2:28:51 PM\n\nNAVIGATE TO SHAREPOINT FOLDER ABOVE TO ACCESS THE ASSOCIATED COLLATERAL\n\nBasic Request Details-\nMarket: LI - CT\nService Line: Capital Markets\nOpportunity #: 12345\nLead Broker Name: Ben Grimm \nDeliverable: Flyer\nFormat: \nClient / Property / Project Name: 211 Madison Ave\nDue Date: 2023-06-30\nEvent Date: \nType of Deliverable Requested: \nNew or Existing Deliverable: New Request\nRequested Deliverable Details (Instructions, Updates, Descriptions): Test market with a dash"
I would like it turned into something similar to the following:
{
"SharepointLink": "https://FF.sharepoint.com/:f:/s/PDRRTeam",
"Requestor": "Benjamin Grimm",
"RequestorEmail": "Benjamin.Grimm@FF.com",
"RequestedOn": "6/8/2023 2:28:51 PM",
"Market": "LI - CT",
"ServiceLine:" "Capital Markets",
"Opportunity": "12345",
"LeadBrokerName": "Ben Grimm",
"Deliverable": "Flyer",
"Format": "Client / Property / Project Name: 211 Madison Ave",
"DueDate": "2023-06-30",
"EventDate": "",
"TypeofDeliverableRequested": ""
"NeworExistingDeliverable": "New Request",
"RequestedDeliverableDetails": "Test market with a dash"
}
Can anyone show me a dynamic way to process this conversion? I will be receiving many strings of this type in the future. The main categories will remain the same, but the details will be different each time. Any assistance is appreciated.
Thank you,
Dennis