{"id":44649,"date":"2022-12-27T09:34:34","date_gmt":"2022-12-27T08:34:34","guid":{"rendered":"https:\/\/tellustalk.com\/dynamic-auto-reply\/"},"modified":"2025-05-12T09:24:12","modified_gmt":"2025-05-12T07:24:12","slug":"dynamic-auto-reply","status":"publish","type":"page","link":"https:\/\/tellustalk.com\/en\/dynamic-auto-reply\/","title":{"rendered":"Auto reply to SMS &amp; MMS"},"content":{"rendered":"<p>[et_pb_section fb_built=&#8221;1&#8243; _builder_version=&#8221;4.16&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221;][et_pb_row _builder_version=&#8221;4.16&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221;][et_pb_column type=&#8221;4_4&#8243; _builder_version=&#8221;4.16&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221;][et_pb_text admin_label=&#8221;Autosvar p\u00e5 mottagna SMS &#038; MMS&#8221; _builder_version=&#8221;4.23.1&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221;]<\/p>\n<h1 class=\"entry-title\">Auto reply to SMS &amp; MMS<\/h1>\n<p>You can activate an auto reply on the virtual number where you receive SMS and MMS. The sender will directly receive an auto reply as soon as their message is received in our system. You will compose the auto reply yourself.<\/p>\n<p>Go to <a href=\"https:\/\/tellustalk.com\/hjalp\/resurser\/\">Resources in you Toolbox<\/a> and click the arrow next to the virtual number or keyword. Click \u201dAuto reply\u201d, and make the following adjustments:<\/p>\n<ol>\n<li><b>Activate \u2013<\/b>Check this box to activate the automatic reply.<\/li>\n<li><b>Originator<\/b> \u2013Choose what <a href=\"https:\/\/tellustalk.com\/en\/sms-originator\/\">sender id<\/a> you want the auto reply to have. You can choos between a text of a maximum of 11 characters (a-z A-Z 1-9), a phone number or reply-SMS. If you want to user <a href=\"https:\/\/tellustalk.com\/en\/reply-sms\/\">reply-SMS<\/a>, type Autoreply in the Originator field.<\/li>\n<li><b>Auto reply \u2013<\/b>This is where you compose the messages that you want us to send in the auto reply.<\/li>\n<li><b>Update \u2013 <\/b>Saves your settings.<\/li>\n<\/ol>\n<p>[\/et_pb_text][\/et_pb_column][\/et_pb_row][et_pb_row _builder_version=&#8221;4.16&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221;][et_pb_column type=&#8221;4_4&#8243; _builder_version=&#8221;4.16&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221;][et_pb_text admin_label=&#8221;Dynamiska autosvar&#8221; _builder_version=&#8221;4.23.1&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221;]<\/p>\n<h2>Dynamic auto replies<\/h2>\n<p>Use this functionality if you need to use different replies depending on content, time of day etc.<\/p>\n<p>You achieve this by typing code in the Message box. Use the open language Django.<br \/>Below some examples are listed along with available variables.<\/p>\n<p>You have access to the following variables:<\/p>\n<div>\n<div>\n<ul>\n<li><b>Message <\/b>\u2013 the entire received message<\/li>\n<li><b>Words <\/b>\u2013 a list of words in the received message, without punctuation, lowercase letters. It is possible to index, for example:<b>{{Words.0}} <\/b><b>{{Words.1}}<br \/><\/b><\/li>\n<li><b>Now<\/b> \u2013 a datetime in GMT when the message was received<br \/>Now.weekday gives 0-6, 0 is monday<br \/>Now.month gives 1-12<\/li>\n<li><b>Originator <\/b>\u2013 the senders mobile number<\/li>\n<li><b>SupplierId <\/b>\u2013 TellusTalks log id for the transaction<\/li>\n<li><b>GroupEvent \u2013 <\/b>event directed to an address book<br \/>Possible values: START \u2013 join, MESSAGE \u2013 message sent to the group, STOP \u2013 leave the group, REPLY \u2013 someone replies,<br \/>START_request \u2013 someone wants to join a closed group, SEND_request \u2013 non moderator tries to send message to the group, unknown_user \u2013 message from non group member.<\/li>\n<li><b>GroupMember<\/b> \u2013 (True\/False) if it is a member sending the message<\/li>\n<li><b>GroupModerator<\/b> \u2013 (True\/False), if it is a moderator sending the message<\/li>\n<\/ul>\n<\/div>\n<h3>Exampels of dynamic replies<\/h3>\n<div>\n<div><b> <\/b><b>If the word Pizza is in the received message, the following reply should be sent:<\/b><\/div>\n<\/div>\n<div><em>\u201dThis is the recipe for pizza\u2026\u201d<\/em><\/div>\n<div><\/div>\n<div>Type in the Message field:<\/div>\n<div><em>{%if \u201dpizza\u201d in Message|lower %}<\/em><br \/><em>This is the recipe for pizza\u2026<\/em><br \/><em>{%endif%}<\/em><\/div>\n<div><\/div>\n<div><\/div>\n<div>\n<p><strong>If it is earlier than Thursday and the clock is not yet 14:00 the reply is:<\/strong> <br \/><em>\u201dThank you! We will get back to you within 4 hours\u201d<\/em><br \/>At other times the reply will be: <br \/><em>\u201dThank you! We will get back to you tomorrow\u201d<\/em><\/p>\n<p>Type in the Message field:<\/p>\n<div>\n<div><em>{%if Now.weekday &lt; 4 and Now|date:\u201dH\u201d &lt; 14 %}<\/em><\/div>\n<\/div>\n<div><em>Thank you! We will get back to you within 4 hours<\/em><\/div>\n<div><em>{%else%}<\/em><\/div>\n<div><em>Thank you! We will get back to you tomorrow<\/em><\/div>\n<div><em>{%endif%}<\/em><\/div>\n<div><\/div>\n<div>\n<div><\/div>\n<\/div>\n<div><strong>If it is Thursday and the clock is not yet 14:00 the reply is:<\/strong> <br \/><em>\u201dThank you! We will get back to you within 4 hours\u201d<\/em><\/div>\n<div>At other times the reply will be: <br \/><em>\u201dThank you! We will get back to you on Monday\u201d<\/em><\/div>\n<\/div>\n<div><\/div>\n<div>Type in the Message field:<\/div>\n<div>\n<div>\n<div><em>{%if Now.weekday == 4 and Now|date:\u201dH\u201d &lt; 14 %}<\/em><\/div>\n<\/div>\n<div><em>Thank you! We will get back to you within 4 hours<\/em><\/div>\n<div><em>{%else%}<\/em><\/div>\n<div><em>Thank you! We will get back to you on Monday<\/em><\/div>\n<div><em>{%endif%}<\/em><\/div>\n<div><\/div>\n<div><\/div>\n<div>\n<div><strong>If it is later than Thursday the reply is:<\/strong> <br \/><em>\u201dThank you! We will get back to you on Monday\u201d<\/em><\/div>\n<\/div>\n<div>\n<div><\/div>\n<div>Type in the Message field:<\/div>\n<div>\n<div><em>{%if Now.weekday &gt; 4%}<\/em><\/div>\n<\/div>\n<div><em>Thank you! We will get back to you on Monday<\/em><\/div>\n<div><em>{%endif%}<\/em><\/div>\n<div><\/div>\n<\/div>\n<div><\/div>\n<div><b>If you want the first three words of the received message to be included in the auto reply:<\/b><\/div>\n<div>\n<div>Your message {{Words.0}} {{Words.1}} {{Words.2}} \u2026 has been received.<\/div>\n<\/div>\n<\/div>\n<\/div>\n<p>[\/et_pb_text][\/et_pb_column][\/et_pb_row][\/et_pb_section]<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Auto reply to SMS &amp; MMS You can activate an auto reply on the virtual number where you receive SMS and MMS. The sender will directly receive an auto reply as soon as their message is received in our system. You will compose the auto reply yourself. Go to Resources in you Toolbox and click [&hellip;]<\/p>\n","protected":false},"author":8,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_acf_changed":false,"_et_pb_use_builder":"on","_et_pb_old_content":"","_et_gb_content_width":"","footnotes":""},"class_list":["post-44649","page","type-page","status-publish","hentry"],"acf":[],"_links":{"self":[{"href":"https:\/\/tellustalk.com\/en\/wp-json\/wp\/v2\/pages\/44649","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/tellustalk.com\/en\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/tellustalk.com\/en\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/tellustalk.com\/en\/wp-json\/wp\/v2\/users\/8"}],"replies":[{"embeddable":true,"href":"https:\/\/tellustalk.com\/en\/wp-json\/wp\/v2\/comments?post=44649"}],"version-history":[{"count":17,"href":"https:\/\/tellustalk.com\/en\/wp-json\/wp\/v2\/pages\/44649\/revisions"}],"predecessor-version":[{"id":49699,"href":"https:\/\/tellustalk.com\/en\/wp-json\/wp\/v2\/pages\/44649\/revisions\/49699"}],"wp:attachment":[{"href":"https:\/\/tellustalk.com\/en\/wp-json\/wp\/v2\/media?parent=44649"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}