<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Multi-line webhook string value changes to empty string &amp;quot; &amp;quot; as data pill in Workato Pros Discussion Board</title>
    <link>https://systematic.workato.com/t5/workato-pros-discussion-board/multi-line-webhook-string-value-changes-to-empty-string-quot/m-p/4652#M2043</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;This is Marlon from Customer Success. The issue appears to be a schema mismatch. Please review your webhook schema. You can update or change the schema so that it matches the actual payload from the source.&lt;/P&gt;</description>
    <pubDate>Thu, 22 Jun 2023 01:39:38 GMT</pubDate>
    <dc:creator>marlon-muela</dc:creator>
    <dc:date>2023-06-22T01:39:38Z</dc:date>
    <item>
      <title>Multi-line webhook string value changes to empty string " " as data pill</title>
      <link>https://systematic.workato.com/t5/workato-pros-discussion-board/multi-line-webhook-string-value-changes-to-empty-string-quot/m-p/4644#M2036</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I'm working on my first recipe. A webhook trigger has a payload with a variable name of "transcript". "Transcript" has a value string such that when I use the resulting data pill later the value is an empty string " " yet in the payload it was a multi-line string shown way below. When I use the resulting data pill as "text" rather than "formula" the value is " ".&lt;/P&gt;&lt;P&gt;I've tried gsub to replace line breaks and carriage returns but gsub claims the value is nil.&amp;nbsp;&lt;/P&gt;&lt;P data-unlink="true"&gt;&lt;SPAN class=""&gt;Webhook Payload Value&lt;/SPAN&gt;&lt;/P&gt;&lt;P data-unlink="true"&gt;&lt;SPAN class=""&gt;transcript:&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;"&lt;/SPAN&gt;&lt;SPAN class=""&gt;Lead: https://www.chatleadspro.com/l/1234&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;@Carlos R: Carlos R has connected &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;@Carlos R: Hi, alyssa. Thanks so much for reaching out to us. I'm Carlos R, a Live Chat Specialist with McDonald's&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;@Carlos R: Before we get started and in case we get disconnected can I get your phone number with area code and email address? &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;Alyssa Test: Hi, this is a test for the webhook updates. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;Alyssa Test: please send through the following Alyssa Test: 333-123-1234 Alyssa Test: &lt;A href="mailto:alyssa@testchat.com" target="_blank" rel="noopener"&gt;alyssa@testchat.com &lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;@Carlos R: Ok, just so I’m sure your number is (333) 123-1234 and email address is null &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;Alyssa Test: yes, thank you &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;@Carlos R: Great, I am going to send this message right now. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;@Carlos R: Thanks for talking with me. &lt;/SPAN&gt;&lt;SPAN&gt;",&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance for any help.&lt;/P&gt;&lt;P&gt;Jay&lt;/P&gt;</description>
      <pubDate>Wed, 21 Jun 2023 03:48:14 GMT</pubDate>
      <guid>https://systematic.workato.com/t5/workato-pros-discussion-board/multi-line-webhook-string-value-changes-to-empty-string-quot/m-p/4644#M2036</guid>
      <dc:creator>JayMappus</dc:creator>
      <dc:date>2023-06-21T03:48:14Z</dc:date>
    </item>
    <item>
      <title>Re: Multi-line webhook string value changes to empty string " " as data pill</title>
      <link>https://systematic.workato.com/t5/workato-pros-discussion-board/multi-line-webhook-string-value-changes-to-empty-string-quot/m-p/4646#M2038</link>
      <description>&lt;P&gt;Hi Jay, do you have other values in the payload and are they appearing as expected in your recipe? Just trying to rule out if the issue is related to the webhook and the entire payload, or if it's specific to only the "transcript" key/value. If Workato is reporting the transcript value as nil, then it's likely the issue is further upstream.&lt;/P&gt;</description>
      <pubDate>Wed, 21 Jun 2023 17:01:18 GMT</pubDate>
      <guid>https://systematic.workato.com/t5/workato-pros-discussion-board/multi-line-webhook-string-value-changes-to-empty-string-quot/m-p/4646#M2038</guid>
      <dc:creator>gary1</dc:creator>
      <dc:date>2023-06-21T17:01:18Z</dc:date>
    </item>
    <item>
      <title>Re: Multi-line webhook string value changes to empty string " " as data pill</title>
      <link>https://systematic.workato.com/t5/workato-pros-discussion-board/multi-line-webhook-string-value-changes-to-empty-string-quot/m-p/4648#M2039</link>
      <description>&lt;P&gt;Thank you garyl. It appears specific to only the "transcript" key/value. Below is the payload with sensitive data replaced. I've been able to use dates, phone numbers, email and names key/values without issue. Just the "transcript" is the issue. I've tried "slice"ing it down to 10 character but I still get a "nil" error.&lt;/P&gt;&lt;P&gt;{&lt;BR /&gt;"payload": {&lt;BR /&gt;"sessionId": "xxxxxxxx",&lt;BR /&gt;"leadId": "xxxxxxxx",&lt;BR /&gt;"dateTime": "2023-06-19 14:38:05",&lt;BR /&gt;"date": "2023-06-19",&lt;BR /&gt;"time": "14:38",&lt;BR /&gt;"siteUref": "xxxx",&lt;BR /&gt;"siteUuid": "xxxxxx",&lt;BR /&gt;"siteName": "McDxxxxx",&lt;BR /&gt;"siteDomain": "mcxxxxx.com",&lt;BR /&gt;"visitorUuid": "0xxxxx",&lt;BR /&gt;"visitorName": "Alyssa Test",&lt;BR /&gt;"visitorFirstName": "Alyssa",&lt;BR /&gt;"visitorLastName": "Test",&lt;BR /&gt;"visitorPhone": "(333) 123-4444",&lt;BR /&gt;"visitorEmail": "alyssa@testchat.com",&lt;BR /&gt;"visitorLocation": "Vacaville, California",&lt;BR /&gt;"visitorCity": "Vacaville",&lt;BR /&gt;"visitorState": "California",&lt;BR /&gt;"original": null,&lt;BR /&gt;"page": "&lt;A href="https://www.chatxxx.com/xxx" target="_blank" rel="noopener"&gt;https://www.chatxxx.com/xxx&lt;/A&gt;",&lt;BR /&gt;"referrer": "&lt;A href="https://platform.clientxxxx.com/" target="_blank" rel="noopener"&gt;https://platform.clientxxxx.com/&lt;/A&gt;",&lt;BR /&gt;"reason": null,&lt;BR /&gt;"device": null,&lt;BR /&gt;"transcript": "Lead: &lt;A href="https://www.chatxxxx.com/x/xxxxxxxx\" target="_blank" rel="noopener"&gt;https://www.chatxxxx.com/x/xxxxxxxx\&lt;/A&gt;n\n@Carlos R: Carlos R has connected\n\n@Carlos R: Hi, alyssa. Thanks so much for reaching out to us. I'm Carlos R, a Live Chat Specialist with McDonald Worley. \n\n@Carlos R: Before we get started and in case we get disconnected can I get your phone number with area code and email address? \n\nAlyssa Test: Hi, this is a test for the webhook updates.\n\nAlyssa Test: please send through the following\n\nAlyssa Test: 333-123-1234\n\nAlyssa Test: alyssa@testchat.com\n\n@Carlos R: Ok, just so I’m sure your number is (333) 123-1234 and email address is null \n\nAlyssa Test: yes, thank you\n\n@Carlos R: Great, I am going to send this message right now. \n\n@Carlos R: Thanks for talking with me. ",&lt;BR /&gt;"rejectLeadUrl": "&lt;A href="https://www.chatleadspro.com/chat/lead/xxxx/xxxxxxx" target="_blank" rel="noopener"&gt;https://www.chatleadspro.com/chat/lead/xxxx/xxxxxxx&lt;/A&gt;",&lt;BR /&gt;"ga_gclid": null,&lt;BR /&gt;"msclkid": null,&lt;BR /&gt;"Campaign": "McXXXX Chat",&lt;BR /&gt;"Company": "McXXXX",&lt;BR /&gt;"email_distribution__c": "clientupdate@xxxxxxx.com, don@xxxxxxx.com, leads@xxxxxxxx.com",&lt;BR /&gt;"OrgID": "14xxxxx",&lt;BR /&gt;"Owner_Agency__c": "xxxxxx",&lt;BR /&gt;"contact_status": "Something Else"&lt;BR /&gt;},&lt;BR /&gt;"params": {},&lt;BR /&gt;"headers": {&lt;BR /&gt;"accept": "*/*",&lt;BR /&gt;"accept_encoding": "gzip, deflate",&lt;BR /&gt;"content_length": "2012",&lt;BR /&gt;"content_type": "application/json",&lt;BR /&gt;"user_agent": "python-requests/2.25.1",&lt;BR /&gt;"x_amzn_trace_id": "Root=1-6490aexxxx",&lt;BR /&gt;"x_correlation_id": "0ea78xxxxx",&lt;BR /&gt;"x_forwarded_for": "xxxxx",&lt;BR /&gt;"x_forwarded_port": "xxx",&lt;BR /&gt;"x_forwarded_proto": "https",&lt;BR /&gt;"x_request_id": "0ea7819xxxxxx"&lt;BR /&gt;}&lt;BR /&gt;}&lt;/P&gt;</description>
      <pubDate>Wed, 21 Jun 2023 21:53:32 GMT</pubDate>
      <guid>https://systematic.workato.com/t5/workato-pros-discussion-board/multi-line-webhook-string-value-changes-to-empty-string-quot/m-p/4648#M2039</guid>
      <dc:creator>JayMappus</dc:creator>
      <dc:date>2023-06-21T21:53:32Z</dc:date>
    </item>
    <item>
      <title>Re: Multi-line webhook string value changes to empty string " " as data pill</title>
      <link>https://systematic.workato.com/t5/workato-pros-discussion-board/multi-line-webhook-string-value-changes-to-empty-string-quot/m-p/4649#M2040</link>
      <description>&lt;P&gt;I can paste the payload value as text into the field and it works. it can have /n included or new lines put in manually - either works. Examples below.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Works with below string pasted as text&lt;/STRONG&gt;&lt;/P&gt;&lt;P class=""&gt;Lead: &lt;A href="https://www.chatlexxxx.com/l/c33f3xxxxxx\" target="_blank" rel="noopener"&gt;https://www.chatlexxxx.com/l/c33f3xxxxxx\&lt;/A&gt;n\n@Carlos R: Carlos R has connected\n\n@Carlos R: Hi, alyssa. Thanks so much for reaching out to us. I'm Carlos R, a Live Chat Specialist with McDonald Worley. \n\n@Carlos R: Before we get started and in case we get disconnected can I get your phone number with area code and email address? \n\nAlyssa Test: Hi, this is a test for the webhook updates.\n\nAlyssa Test: please send through the following\n\nAlyssa Test: 333-123-1234\n\nAlyssa Test: alyssa@testchat.com\n\n@Carlos R: Ok, just so I’m sure your number is (333) 123-1234 and email address is null \n\nAlyssa Test: yes, thank you\n\n@Carlos R: Great, I am going to send this message right now. \n\n@Carlos R: Thanks for talking with me.&amp;nbsp;&lt;/P&gt;&lt;P class=""&gt;&lt;STRONG&gt;Works with below string with new lines (return key) added manually&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Lead: &lt;A href="https://www.chatleadspro.com/l/c33f37fa2ba04590a5a53152183c1e61" target="_blank" rel="noopener"&gt;https://www.chaxxxxxxx.com&lt;/A&gt;&lt;/P&gt;&lt;P&gt;@Carlos R: Carlos R has connected&lt;/P&gt;&lt;P&gt;@Carlos R: Hi, alyssa. Thanks so much for reaching out to us. I'm Carlos R, a Live Chat Specialist with McDonald Worley.&lt;/P&gt;&lt;P&gt;@Carlos R: Before we get started and in case we get disconnected can I get your phone number with area code and email address?&lt;/P&gt;&lt;P&gt;Alyssa Test: Hi, this is a test for the webhook updates.&lt;/P&gt;&lt;P&gt;Alyssa Test: please send through the following&lt;/P&gt;&lt;P&gt;Alyssa Test: 333-123-1234&lt;/P&gt;&lt;P&gt;Alyssa Test: alyssa@testchat.com\n\n@Carlos R: Ok, just so I’m sure your number is (333) 123-1234 and email address is null&lt;/P&gt;&lt;P&gt;Alyssa Test: yes, thank you&lt;/P&gt;&lt;P&gt;@Carlos R: Great, I am going to send this message right now. \n\n@Carlos R: Thanks for talking with me.&lt;/P&gt;&lt;P class=""&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 21 Jun 2023 22:03:41 GMT</pubDate>
      <guid>https://systematic.workato.com/t5/workato-pros-discussion-board/multi-line-webhook-string-value-changes-to-empty-string-quot/m-p/4649#M2040</guid>
      <dc:creator>JayMappus</dc:creator>
      <dc:date>2023-06-21T22:03:41Z</dc:date>
    </item>
    <item>
      <title>Re: Multi-line webhook string value changes to empty string " " as data pill</title>
      <link>https://systematic.workato.com/t5/workato-pros-discussion-board/multi-line-webhook-string-value-changes-to-empty-string-quot/m-p/4650#M2041</link>
      <description>&lt;P&gt;Problem solved. I deleted the webhook payload field "transcript" from the payload schema and then added it back. Works like a charm. garyl thanks for making me look upstream to the webhook.&lt;/P&gt;</description>
      <pubDate>Wed, 21 Jun 2023 22:18:28 GMT</pubDate>
      <guid>https://systematic.workato.com/t5/workato-pros-discussion-board/multi-line-webhook-string-value-changes-to-empty-string-quot/m-p/4650#M2041</guid>
      <dc:creator>JayMappus</dc:creator>
      <dc:date>2023-06-21T22:18:28Z</dc:date>
    </item>
    <item>
      <title>Re: Multi-line webhook string value changes to empty string " " as data pill</title>
      <link>https://systematic.workato.com/t5/workato-pros-discussion-board/multi-line-webhook-string-value-changes-to-empty-string-quot/m-p/4651#M2042</link>
      <description>&lt;P&gt;Right on, glad you sorted it out!&lt;/P&gt;</description>
      <pubDate>Wed, 21 Jun 2023 22:35:27 GMT</pubDate>
      <guid>https://systematic.workato.com/t5/workato-pros-discussion-board/multi-line-webhook-string-value-changes-to-empty-string-quot/m-p/4651#M2042</guid>
      <dc:creator>gary1</dc:creator>
      <dc:date>2023-06-21T22:35:27Z</dc:date>
    </item>
    <item>
      <title>Re: Multi-line webhook string value changes to empty string " " as data pill</title>
      <link>https://systematic.workato.com/t5/workato-pros-discussion-board/multi-line-webhook-string-value-changes-to-empty-string-quot/m-p/4652#M2043</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;This is Marlon from Customer Success. The issue appears to be a schema mismatch. Please review your webhook schema. You can update or change the schema so that it matches the actual payload from the source.&lt;/P&gt;</description>
      <pubDate>Thu, 22 Jun 2023 01:39:38 GMT</pubDate>
      <guid>https://systematic.workato.com/t5/workato-pros-discussion-board/multi-line-webhook-string-value-changes-to-empty-string-quot/m-p/4652#M2043</guid>
      <dc:creator>marlon-muela</dc:creator>
      <dc:date>2023-06-22T01:39:38Z</dc:date>
    </item>
  </channel>
</rss>

