Thanks so much @Samuel Jillard. This worked! That was my 11th option I tested!
I was able to use the below and that inserted a line between also
Flow.reasonText + "\\n\\n" + Flow.reasonDescription
But this Flow.reasonText + "\\n" + Flow.reasonDescription worked also for just carriage return
Thank you
------------------------------
Alastair Pitt
Docusign, Inc.
------------------------------
Original Message:
Sent: 12-01-2025 04:52
From: Samuel Jillard
Subject: Genesys Data Action - Salesforce API - Cannot add new Line.
Hi Alistair,
I think if you use \\n it will put in the line break, but I am unable to test this currently. Hopefully someone else in the community can confirm or offer an alternative
------------------------------
Sam Jillard
Online Community Manager/Moderator
Genesys - Employees
Original Message:
Sent: 11-28-2025 06:10
From: Alastair Pitt
Subject: Genesys Data Action - Salesforce API - Cannot add new Line.
Hi,
So I need help with the following. I am trying to update a custom field in Salesforce with the Genesys Co-pilot Call Summary. So this is the Scenario -
1. Voice Call between customer and experts completes
2. Call Summary is Generated
3. Agent completes ACW
4. Trigger is started based on the Queue and ACW and waits for 2 minutes ( for Summary to generate )
5. Trigger uses data action to gather the Salesforce Lead ID from the ConversationId
6. Trigger uses data action to gather Call Summary ( multiple outputs )
7. Trigger uses data action with Salesforce API to update a field called "Notes" with the Call Summary outputs
This all works perfectly, but, there are multiple outputs from step 6 ( i.e. Reason Text, Reason Description, Resolution Text.... etc ) and I want each one on a separate line
I am using for example the below, and this work, but this means that I get them as a single text block.
flow.reasonText + flow.reasonDescription + flow.resolutionText
What I would like is
ReasonText
ReasonDescription
ResolutionText
but... when I use \n for a new line or enter a carriage return in the expression, what gets Sent to Salesforce is
ReasonText \n ReasonDescription \n ResolutionText
And Salesforce doesn't like \n and I get "BAD REQUEST"
Any ideas what do to here?
#API/Integrations
------------------------------
Alastair Pitt
Docusign, Inc.
------------------------------