Syntax
MSG_PARSE(file)
Usage examples
Example 1
Input | 1 { 2 "my_action": { 3 "message": { 4 "file_upload_1": { 5 "name": "Sample MSG File.msg", 6 "type": "application/vnd.ms-outlook", 7 "contents": "BASE64 Encoded .msg file contents", 8 "display_logo": true 9 } 10 } 11 } 12 } |
Formula | MSG_PARSE(BASE64_DECODE(my_action.message.file_upload_1.contents) |
Output | 1 { 2 "message_id": "c58b1b52f61f4789ba40339c6e993440", 3 "subject": "creating an outlook message file", 4 "from": "from@domain.com", 5 "to": [ 6 "to@domain.com" 7 ], 8 "cc": [], 9 "date": "2017-06-01T15:24:31+00:00", 10 "headers": { 11 "Date": "Thu, 01 Jun 2017 15:24:31 +0000", 12 "From": "from@domain.com", 13 "To": "to@domain.com", 14 "Message-ID": "c58b1b52f61f4789ba40339c6e993440", 15 "Subject": "creating an outlook message file", 16 "Mime-Version": "1.0", 17 "Content-Type": "multipart/alternative; boundary=\"----_=_NextPart_001_00c81914.63ca02d3\"", 18 "X-Unsent": "1", 19 "Thread-Topic": "creating an outlook message file" 20 }, 21 "body": "<html>\n<body></body>\n</html>\n\n", 22 "attachments": [] 23 } |
Sample Actions
Event Transform
My Action
Event Transform
MSG_PARSE
Select an Action to inspect.
You can also click "Copy Actions" and paste them in your Tines Story to see how they work.