cancel
Showing results for 
Search instead for 
Did you mean: 
0 Kudos

Auto-reply missing \n

Hi

I`ve recently created a flow to set an autoresponder from my phone and I`ve created standard message there which looks like this:

2019-03-20_12h53_07.png

But when I test it the actual message looks like this:

2019-03-20_14h29_22.png

Everything is in one line.  I know this is not an Idea but could You fix this?

 

Code for this action looks like this:

{
    "inputs": {
        "host": {
            "connection": {
                "name": "@json(decodeBase64(triggerOutputs().headers['X-MS-APIM-Tokens']))['$connections']['shared_office365']['connectionId']"
            }
        },
        "method": "post",
        "body": {
            "Status": "Scheduled",
            "ExternalAudience": "All",
            "ScheduledStartDateTimeOffset": "@{triggerBody()['date']}@{triggerBody()?['text_1']}",
            "ScheduledEndDateTimeOffset": "@{triggerBody()['date_1']}@{triggerBody()['text_2']}",
            "InternalReplyMessage": "Dear sender,\n\nMy apologies I'm currently out of office with limited access to my e-mail account.  \nYour mail will be reviewed as soon as possible upon my return (@{triggerBody()['date_1']}). \n\nThe reason is:\n@{triggerBody()['text']}. \n\nIf it`s really urgent please contact @{triggerBody()['email']}.",
            "ExternalReplyMessage": "Dear sender,\n\nMy apologies I'm currently out of office with limited access to my e-mail account.  \nYour mail will be reviewed as soon as possible upon my return (@{triggerBody()['date_1']}). \n\nThe reason is:\n@{triggerBody()['text']}. \n\nIf it`s really urgent please contact @{triggerBody()['email']}."
        },
        "path": "/AutomaticRepliesSetting",
        "authentication": {
            "type": "Raw",
            "value": "@json(decodeBase64(triggerOutputs().headers['X-MS-APIM-Tokens']))['$ConnectionKey']"
        }
    },
    "metadata": {
        "flowSystemMetadata": {
            "swaggerOperationId": "SetAutomaticRepliesSetting"
        }
    }
}

 

 

Status: New