{"id":3200,"date":"2024-01-09T14:12:56","date_gmt":"2024-01-09T13:12:56","guid":{"rendered":"https:\/\/planfix.com\/blog\/?p=3200"},"modified":"2024-04-02T18:16:13","modified_gmt":"2024-04-02T16:16:13","slug":"save-sent-emails-in-task-comments","status":"publish","type":"post","link":"https:\/\/planfix.com\/blog\/use-cases\/save-sent-emails-in-task-comments\/","title":{"rendered":"How To Automatically Save Sent Emails in Task Comments"},"content":{"rendered":"<div class=\"breadcrumbs \" typeof=\"BreadcrumbList\" vocab=\"https:\/\/schema.org\/\"><span property=\"itemListElement\" typeof=\"ListItem\"><a property=\"item\" typeof=\"WebPage\" title=\"Go to Planfix.\" href=\"https:\/\/planfix.com\/blog\/\" class=\"home\" aria-current=\"page\"><span property=\"name\">Planfix<\/span><\/a><meta property=\"position\" content=\"1\"><\/span><\/div>\n\n\n<div style=\"height:50px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><img decoding=\"async\" src=\"https:\/\/planfix.com\/blog\/wp-content\/themes\/breek\/assets\/images\/transparent.gif\" data-lazy=\"true\" data-src=\"https:\/\/p.pfx.so\/pf\/Tv\/fQbwNi.gif\" alt=\"Setting Follow-Up Comments to Scripted Messages\" style=\"width:692px;height:auto\" title=\"Setting Follow-Up Comments to Scripted Messages | Planfix\"\/><\/figure>\n\n\n\n<p>The easiest way to show your customers or counterparties that you care is to send them a message notifying them of important updates. This can be as simple as:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>The contract is prepared.<\/li>\n\n\n\n<li>The order is sent.<\/li>\n\n\n\n<li>Access to the course is granted.<\/li>\n\n\n\n<li>A new dress is on sale!<\/li>\n\n\n\n<li>Perhaps it&#8217;s time to consider buying more shares?<\/li>\n<\/ul>\n\n\n\n<p>Meanwhile, the customer will be sorting through notifications sent by a variety of companies. Let&#8217;s give them space to manage their notifications while we explore another aspect of this process \u2013 automation.<\/p>\n\n\n\n<div style=\"height:50px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h2 class=\"wp-block-heading\">How Planfix Scripts Work<\/h2>\n\n\n\n<p>Automated scripts are pre-written commands or sequences of actions that are designed to automatically perform tasks or processes without requiring manual intervention. Planfix scripts can streamline recurring tasks, such as sending automated emails, updating customer records, or generating reports, saving time and improving efficiency for users. Find out more about Planfix scripts in the article \u201c<a href=\"https:\/\/planfix.com\/blog\/tips\/how-planfix-scripts-work\/\" target=\"_blank\" rel=\"noopener\" title=\"\">How Planfix Scripts Work<\/a>\u201d.<\/p>\n\n\n\n<div style=\"height:50px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h2 class=\"wp-block-heading\">Why to Use the Automated Email Script<\/h2>\n\n\n\n<p>How to view a sent email in Planfix and understand what It conveys? For some&nbsp;<a href=\"https:\/\/planfix.com\/features\/automation\/\" target=\"_blank\" rel=\"noreferrer noopener\">Planfix Automation<\/a>&nbsp;users, viewing sent emails can be a challenging process. Let&#8217;s clarify this.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">First Script<\/h3>\n\n\n\n<p>Imagine you run a super techy company where all business processes are detailed and automated\u2014a best-case scenario. Tasks from counterparties are recorded in the&nbsp;<a href=\"https:\/\/planfix.com\/features\/chronicle\/\" target=\"_blank\" rel=\"noopener\" title=\"\">Planfix chronicle<\/a>. Employees fill out the necessary fields at different stages, a contract is automatically generated, and a notification email is sent to the counterparty using a prepared template.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Second Script<\/h3>\n\n\n\n<p>Suppose you own an online language school. With Planfix, you manage your student applications. Once everything is prepared for courses, you&nbsp;set a message&nbsp;and&nbsp;automatically notify the student that the class is ready.<\/p>\n\n\n\n<p>To set up an automatic script or a button that sends such an&nbsp;<a href=\"https:\/\/planfix.com\/features\/work-with-email\/\" target=\"_blank\" rel=\"noreferrer noopener\">automated email<\/a>&nbsp;looks as follows:<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img decoding=\"async\" src=\"https:\/\/planfix.com\/blog\/wp-content\/themes\/breek\/assets\/images\/transparent.gif\" data-lazy=\"true\" data-src=\"https:\/\/s.pfx.so\/pf\/y3\/nfXIeN.png\" alt=\"Configure Automatic Script or Button for Notification\" title=\"Configure Automatic Script or Button for Notification | Planfix\"\/><\/figure>\n<\/div>\n\n\n<p><em>Configuration of an automatic script or button for&nbsp;set notifications.<\/em><\/p>\n\n\n\n<div style=\"height:50px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h2 class=\"wp-block-heading\">Adding Emails to Tasks: How It Used to Be<\/h2>\n\n\n\n<p>When a script is triggered or an employee clicks a button, a system action is recorded in the task, and the email is sent out:<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img decoding=\"async\" src=\"https:\/\/planfix.com\/blog\/wp-content\/themes\/breek\/assets\/images\/transparent.gif\" data-lazy=\"true\" data-src=\"https:\/\/s.pfx.so\/pf\/aY\/kfVGEQ.png\" alt=\"Previous Version of the Email Script\" title=\"Previous Version of the Email Script | Planfix\"\/><\/figure>\n<\/div>\n\n\n<p><em>Here&#8217;s an example of the old version of the system.<\/em><\/p>\n\n\n\n<div style=\"height:50px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p>The old version caused some inconvenience:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>This system action is only visible when &#8220;All Actions&#8221; are selected by default. Only comments are displayed initially. In other words, no one could see this action until they changed their display mode.<\/li>\n\n\n\n<li>Even after switching, this action would be difficult to find because many similar-looking system actions surround it.<\/li>\n\n\n\n<li>You often had to ask the support service how to view what exactly was sent in the email.<\/li>\n\n\n\n<li>Sometimes, it was difficult to understand what the contact had actually replied to.<\/li>\n<\/ul>\n\n\n\n<div style=\"height:50px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h2 class=\"wp-block-heading\">Adding Emails to Tasks: How It Works Now<\/h2>\n\n\n\n<p>We&#8217;ve made changes, and now it operates as follows:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>An&nbsp;automatic&nbsp;task&nbsp;script&nbsp;or button is used to send an email.<\/li>\n\n\n\n<li>Planfix saves the text as a file.<\/li>\n\n\n\n<li>The system action regarding an outgoing email is logged in the task as a standard comment:<\/li>\n<\/ul>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img decoding=\"async\" src=\"https:\/\/planfix.com\/blog\/wp-content\/themes\/breek\/assets\/images\/transparent.gif\" data-lazy=\"true\" data-src=\"https:\/\/s.pfx.so\/pf\/9P\/iGvk97.png\" alt=\"Hidden Automated Comment\" title=\"Hidden Automated Comment | Planfix\"\/><\/figure>\n<\/div>\n\n\n<p><em>This is an example of the new system action.<\/em><\/p>\n\n\n\n<div style=\"height:50px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p>Note that the comment includes:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>which template and&nbsp;<a href=\"https:\/\/planfix.com\/features\/task-scripts\/\" target=\"_blank\" rel=\"noopener\" title=\"\">task scripts<\/a>&nbsp;were used to send the email,<\/li>\n\n\n\n<li>a file with the content of the email,<\/li>\n\n\n\n<li>the filename, showing the sender and recipient of the email.<\/li>\n<\/ul>\n\n\n\n<p>Furthermore, when you set up an&nbsp;automated script&nbsp;or button, you can specify the visibility of such an&nbsp;automated message.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img decoding=\"async\" src=\"https:\/\/planfix.com\/blog\/wp-content\/themes\/breek\/assets\/images\/transparent.gif\" data-lazy=\"true\" data-src=\"https:\/\/s.pfx.so\/pf\/ES\/iVRbg8.png\" alt=\"Hide Automated Comments in Task\" title=\"Hide Automated Comments in Task | Planfix\"\/><\/figure>\n<\/div>\n\n\n<p><em>Adjusting the visibility of the email comment.<\/em><\/p>\n\n\n\n<div style=\"height:50px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h2 class=\"wp-block-heading\">The Results<\/h2>\n\n\n\n<p>The system action is visible under all display settings unless the comment is hidden.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Its visibility has increased.<\/li>\n\n\n\n<li>Now you can see what was sent in the email.<\/li>\n\n\n\n<li>It is clearer and easier to understand which email a contact is responding to when they reply.<\/li>\n<\/ul>\n\n\n\n<p>An important note: A script that tracks the &#8220;Comment added&#8221; event does not work when the system comment described above is added.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The easiest way to show your customers or counterparties that you care is to send them a message notifying them of important updates. This can&#8230;<\/p>\n","protected":false},"author":6,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"om_disable_all_campaigns":false,"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"_s2mail":"yes","footnotes":""},"categories":[12],"tags":[230,304,242,340],"class_list":["post-3200","post","type-post","status-publish","format-standard","hentry","category-use-cases","tag-automated-script","tag-automation","tag-email","tag-notifications"],"acf":[],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/planfix.com\/blog\/wp-json\/wp\/v2\/posts\/3200","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/planfix.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/planfix.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/planfix.com\/blog\/wp-json\/wp\/v2\/users\/6"}],"replies":[{"embeddable":true,"href":"https:\/\/planfix.com\/blog\/wp-json\/wp\/v2\/comments?post=3200"}],"version-history":[{"count":17,"href":"https:\/\/planfix.com\/blog\/wp-json\/wp\/v2\/posts\/3200\/revisions"}],"predecessor-version":[{"id":3928,"href":"https:\/\/planfix.com\/blog\/wp-json\/wp\/v2\/posts\/3200\/revisions\/3928"}],"wp:attachment":[{"href":"https:\/\/planfix.com\/blog\/wp-json\/wp\/v2\/media?parent=3200"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/planfix.com\/blog\/wp-json\/wp\/v2\/categories?post=3200"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/planfix.com\/blog\/wp-json\/wp\/v2\/tags?post=3200"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}