Hi Matthew. You have two options. If you are in the Visual mode of the notification editor, typing in line breaks after each line will result in a line break (WordPress/Gravity Forms will convert the line breaks to actual HTML) so long as you DO NOT click the “Disable auto-formatting” checkbox. It’s this auto-formatting that will convert your carriage returns into actual HTML <br /> tags.
Or, if you are in the Text mode of the editor, you can add your own HTML markup there, like line breaks and paragraphs. You have to be in Text mode to add your own HTML. In visual mode, you will see the HTML in your notification: it won’t be HTML used for formatting.
If you have any other questions, please let us know.
Hi Matthew. You can add a carriage return or a line break in your JSON by adding \r or \n or maybe even \r\n. On the webhooks feed though, if you enter a backslash, it will be further escaped, and you would send this instead of \r\n:
To avoid that, rather than mapping the individual merge tags to one key in the webhooks feed, you can use the gform_webhooks_request_data filter:
With that, you can combine all your fields into one string, with your line breaks and carriage results and encode the new lines as \r or \n. Then, it is up to your CRM to convert that \r or \n to a new line to store all the items as individual lines. If you have any other questions on implementation, please let us know.