I’ve setup SendGrid with custom action.
I need a text input (for the user to send me an email) with multiple lines for the object.
But I guess the Json doesn’t work with multiple lines.
How the transform the multiple lines in one line for Json (adding some extra “” or ) ?
I didn’t try but I suggested before using url encode component, and then decode at the other end. I guess you probably can’t decode on sendgrid so might need zapier or similar to decode.
var text = `text input`;
var encoded_text = encodeURI(text);
return encoded_text;
( replace the text input with your input component.)
But I think like Nathan said if you do this with Sendgrid there is no way to decode it. But here’s a great way you can do this! No Encode,Decode and it’s with a simple js script!