Easily Parse the Beginning and End of an Email To Voice Message

Easily Parse the Beginning and End of an Email To Voice Message

EmailToVoice.Net has the ability to designate the beginning and the end of a voice or text message sent using email. This is valuable when you want to send only the pertinent information in your alerts and mission-critical messages.

Send Voice and Text via Email

EmailToVoice.Net provides the ability to make a phone call or send an enterprise text message by merely using any email capability. This is a requirement for mission-critical processes in many industries. Our customers can send alerts directly from monitoring software, like Vaisala/viewLinc, ServiceNow, Nagios, SolarWinds, and more. If the alert message is concise and complete, then the complete message can be converted and delivered to the recipient as a voice phone call or text message without change.

However, there are situations when our customer has information in the content of the email that does not need to be converted to a voice message (TTS) or SMS message.

Examples When Email Parsing Is Desired

Food Delivery Services

A person may order food from a web site which creates a Delivery Order form. That Order form may need to be sent to the delivery person or the restaurant via a voice phone call or a text message. The Delivery Order form will often have information that does not need to be converted to voice or a text message. EmailToVoice.Net allows our customers to specify, at the account level, the characters that designate the beginning and the end of the message that needs to be delivered by voice or text message.

Industrial Device Alerts

Industrial IoT (Internet of Things) devices are generally out in the field. When a monitoring service detects a failure or scheduled maintenance, an alert is sent to the Service department. The alert can also be sent directly to the Field Repair person. The alert may contain information that does not need to be converted. Our customers can merely specify the characters that identify the beginning and the end of an alert message that needs to be converted to voice or text.

Important Email Messages

Emails do not always get the attention that is required for important messages. Most of us are overloaded with email messages. So, to get people’s attention, companies will send a voice phone call or text SMS message. However, the original email will often times have an Email Signature that is not necessary for other forms of communication. Or sometimes the email is forwarded and that creates extra header information that does not need to be converted to voice or text. EmailToVoice.Net provides the ability for our enterprise customers to eliminate the top and bottom portion of the email before conversion to voice or text occurs. Then when the message is played over the phone, only the important part of the message is heard by the recipient. The same occurs for the person receiving the important Email message in text across the SMS channel.

The above three examples are only a few of many where this feature of EmailToVoice is so valuable. The recipient of alerts and other mission-critical information should be hearing or reading only that which is of the utmost importance.

How To Enter the Beginning and End of a Message

Change My Details Account Information

The customer can designate the beginning and end of all messages by logging into the Customer Portal and then going to My Details / Change My Details. The fields in the account details are

Email to Broadcast-Start of Message Text:

Email to Broadcast-End of Message Text:

There is an additional capability that is extremely useful. The customer can specify if the text designated as the Start of the Message is to be included in the text of the outgoing message. This is a checkbox. See the Customer’s “My Details” section below:

Email to Voice start and end of message

Enter Tags into the Message

You can also enter the “Begin Message” and “End Message” tags directly into the email message to control what is converted to voice or text.

Start message indicators
Instead of starting the outgoing message content at the beginning of the email, there are  methods of skipping the start of the email and starting the relevant message further
down.
1. A line containing just the tag “<Begin Message>” can be included in the email, and the
outgoing content will start on the line AFTER this.
2. If the user has the option “Start of message text” set, then the outgoing content will
start where this text is found (including the text itself)
End message indicators
The end of a text message to be sent can be indicated in a number of ways:
1. A line containing just the tag “<End Message>” can be included in the message.
2. A blank line followed by “– ” (two plain ascii dashes and a space) which must then be on
a line by itself
3. Four empty lines
4. The text entered in the users “End of Message Text” configuration field

Alternatives for More Detailed Parsing

Our customers can choose to do more elaborate parsing of the email before sending the message through our service for conversion to voice or text. There are many Email Parsing services available. In the past, we have written about Microsoft’s Power Automate as one example. These email parsing services provide the customer with the ability to extract and reformat information before being sent through our Email to phone call cloud service for conversion and delivery.

Let Us Help

EmailToVoice.Net is rich in features while being simple and effective to use for business communications and alerts. We transform an email message into a phone call or enterprise Text Message with no need to program APIs or install any hardware or software. You can send a voice phone call (TTS), Enterprise Text SMS, FAX or prerecorded Voice Message from any email program interface through your monitoring software, CRM, or Dispatch System. Contact Us and let us assist you in meeting your mission-critical business communications needs.

 

 

 

Parse Email into a Phone Call Using Microsoft Flow and Workflow Definition Language

Parse Email into a Phone Call Using Microsoft Flow and Workflow Definition Language

Making a phone call has become a critical requirement for alerts and notifications from monitoring systems and customer service applications. The challenge is these applications often can only send emails. In addition to that challenge, an email has a lot of stuff that is not necessary for a phone message. The solution for this challenge is to parse the content of the email into a succinct voice message that gets the important message across quickly and effectively.

Microsoft Flow and EmailToVoice.Net work well together. We have written about this integration in past articles in our Blog. In this post, we are going to delve deeper into the script used to parse the email content into a sensible phone message.

Workflow Definition Language

The Microsoft Workflow Definition language is at the center of extracting relevant information from an email and passing only what is applicable to a voice phone call. The Microsoft Workflow Definition Language is available in Microsoft Flow. You also find this powerful language in Azure Logic Apps. Actually it is better documented in Azure Logic Apps.

Sample Script for Parsing and Email

In our previous posts about using Microsoft Flow with EmailToVoice.Net, we have shown sample scenarios of forwarding a message that arrives in a customer service email inbox and then passes that message on to a phone. In this post, we are showing a simple example of parsing the content of an email into shortened text that would be more applicable for a voice phone call.

Sample Incoming Email

Let’s use a simple email for our example. From this email, all we want for the phone call is what has been ordered. In this case, it is ‘One Pizza’.



Initialize Variable with the Body of the Email

First we will initialize a new variable with the content of the Email. This grabs all of the text of the incoming email. If the email is HTML, then all the HTML formatting is also present in this new variable.

Discard beginning text of the email

Next we want to discard all text before the part of the email that we want to have as the content of the voice phone call. To do this we used the following expression:

last(split(variables(‘Email Text’),’This is the order </div><div><br></div><div>’))

It is important to note that when the email is HTML, then you need to look into the source to see exactly how the email content looks.

Discard bottom part of the text of the email

Now we want to discard everything after the part of the email that we want to keep as the voice phone message. in this simple case, the only part we want to keep is ‘One Pizza’. To do this we used the following expression:

first(split(variables(‘Email top part’),'</div>’))

Pass the remaining content to a Phone Call

As the final step, we use the variable that now has only the part of the email that we want to be converted to speech (TTS) for the phone call. This text will be passed to EmailToVoice.Net.

Microsoft Flow Power Automate

 

This is a great independent Youtube video to further explain this type of process using Workflow Definition Language.

 

Can We Help Further

If you have a business process that would be enhanced by using voice phone messages, contact us. We can help you integrate phone messages into any mission-critical business flow.

EmailToVoice.Net is rich in features while being simple and effective to use for business communications and alerts. We transform an email message into a phone call or an SMS message with no need to program APIs or install any hardware or software.

For making a voice phone call, you merely make the TO field in the Email you are sending to look something like 5551234567@tts.message-service.org (international calls require a +CountryCode in front of the local number). The recipient will receive a call on their phone. The text in the email is converted to a nice-sounding voice. If the recipient answers, they will hear the message right away. If they do not answer, the message will be left on their voice mail system. You can even leave a different message if the call goes to voice mail.

You can also send an SMS, FAX or prerecorded Voice Message from an email program interface, like from an application, Internet of Things device (IoT / M2M), or through your CRM and Dispatch System.

Using Microsoft Flow with EmailToVoice.Net to Improve Customer Service Business Processes

Using Microsoft Flow with EmailToVoice.Net to Improve Customer Service Business Processes

Microsoft Flow works well with EmailToVoice.Net. And now, Microsoft has made licensing changes that make Microsoft Flow even more convenient for routing and parsing emails while EmailToVoice.Net converts the emails into voice phone calls.

As recently announced by Microsoft, Office 365 is now Microsoft 365. Included in that change, Microsoft Flow is now available in most Microsoft 365 subscriptions.

Microsoft Flow and EmailToVoice.Net are great companions. Microsoft Flow has email connectors that enhance business flows. These email connectors can seamlessly invoke the abilities of EmailToVoice.Net. EmailToVoice.Net provides the ability to integrate Text to Speech and SMS communications with enterprise business flows.

Customer Service Scenario

To provide an example of how Microsoft Flow and EmailToVoice.Net can work together, the following is an example of sending a voice message to customer service staff when an email arrives from the enterprise’s customer. The prerequisites for this example are a subscription to EmailToVoice.Net (can be a free trial) and a paid subscription to Microsoft 365. This example uses the GMAIL connector. Microsoft Flow has many connectors.

When Microsoft Flow detects an email message arriving in the customer service general email address Microsoft Flow will trigger an email to be sent (forwarded) to EmailToVoice.Net that will then generate a phone call to the customer service representative.

To set up the Microsoft Flow script, sign into your Microsoft 365 Account.

Images below are from https://www.microsoft.com/en-us/microsoft-365 Updated versions may change the views.

Select All Apps

Microsoft 365 All Apps

 

Select Flow

Microsoft 365 Flow app

Go to Connectors and connect to Gmail

Gmail Connector Microsoft Flow

Select Trigger

In this example, the trigger will be a new email coming into the customer service email mailbox from a customer.

Choose the “Forward Gmails that meet a certain criteria” action for this example. But there are many templates and you can also just choose to create your own without using a template.

Gmail Microsoft Flow Forward trigger

Provide Assurance to Microsoft Flow that you own the email account

Sign-in to the Gmail account that will receive the alerts that need to be forwarded to EmailToVoice.Net, as Microsoft Flow requests you to do.

Set the Flow


This is where you specify which emails are entering your email mailbox that are to be forwarded to the EmailToVoice.Net.

Set Flow Part 1

The From criteria specifies the customer service email address that will receive the customer’s email message.

Create the Flow part one

Set Flow Part 2

Set the SEND criteria. The TO field should be like: nnnnnnnnnn@TTS.MESSAGE-SERVICE.ORG For more information, refer to How Email to Voice Works

Create the Flow part two

 

Conclusion

When a message comes in from a customer to the customer service email address, a Microsoft Trigger will occur, which will forward that message to EmailToVoice.Net from your email address. EmailToVoice.Net will convert the content of the email to a nice sounding voice, dial the phone number, etc. Learn more at EmailToVoice.Net

Additional Considerations

The Subject Field of the message being forwarded to EmailToVoice.Net for conversion to a voice can be preset in Microsoft Flow. The Subject field can then be optionally read as part of the message to the customer service representative by selecting the following setting in the Customer Portal.

Customer Portal / My Details / Email To Broadcast Subject Field Behaviour

The number of characters of the email being sent to EmailToVoice.Net can optionally be limited by selecting the setting in the Customer Portal.

Customer Portal / My Details / TTS character limit

Additionally, a Header Message can optionally be set in the EmailToVoice.Net account for every message. The Header message will be converted to voice and read every time at the beginning of every voice message.

Customer Portal / My Details / TTS Message Prefix

How EmailtoVoice.Net works

EmailToVoice.Net is rich in features while being simple and effective to use for business communications and alerts. We transform an email message into a phone call or an SMS message with no need to program APIs or install any hardware or software.

For making a voice phone call, you merely make the TO field in the Email you are sending to look something like 5551234567@tts.message-service.org (international calls require a +CountryCode in front of the local number). The recipient will receive a call on their phone. The text in the email is converted to a nice-sounding voice. If the recipient answers, they will hear the message right away. If they do not answer, the message will be left on their voice mail system. You can even leave a different message if the call goes to voice mail.

You can also send an SMS, FAX or prerecorded Voice Message from an email program interface, like from an application, Internet of Things device (IoT / M2M), or through your CRM and Dispatch System.

Contact Us if we can provide further assistance in helping you meet your business communications requirements.

 

How to Check on the Success of a Job in EmailToVoice.Net

How to Check on the Success of a Job in EmailToVoice.Net

As a customer of EmailToVoice.Net, you may want to check the status of a message that was sent through EmailToVoice.Net. This is easy for you to do. You need to merely do a Search from inside the email mailbox of the email address that receives reports from EmailToVoice.Net. This will provide you detailed status of any job.

The reason this is available to you is because EmailToVoice.Net sends a detailed Job Success Report back to the main email address on the account, plus any additional email addresses added to account upon request. So, there is a detailed success report residing in the main email address specified on your EmailToVoice.Net account. A Job Success Report exists for each message sent through EmailToVoice.Net. Many customers set a Filter in the email mailbox so these detailed Job Success Reports are put in a special folder.

Example of Locating Job Success Reports

Therefore, to locate a past Job Success Report showing the detailed status of a job, merely sign into the email address that is designated as the the main email address in your EmailToVoice.Net account. Then you can do a Search to find the job’s detail. Below is an example for GMAIL.

Step 1: In the Email Search box, click on the Down Arrow to open. This will open advanced search capabilities.

GMAIL Search Box

Step 2: In the Search Box, enter Search criteria. In the Subject Field, enter “job report: Success “. Then in the ‘Has the words’ field, you can enter other search criteria, such as the phone number.

Gmail Search criteria EmailToVoice.Net

That’s it. You will see email search results showing the Job Success Reports matching your search criteria. You will be able to see things in the detailed reports such as:

  • Was the job successful or is there an error code.
  • Did the call go to Voicemail
  • What was the cost to send the message
  • And much more…

Alternative Use of Job Success Reports

Another good use of these Job Success Reports is to automatically take action if a certain result occurs. For instance, if a call goes to Voicemail, then another job can be initiated for sending the message to a different phone number, SMS or email address. This can be done using Microsoft Flow or other like services.

If you have any questions, do not hesitate to contact us.

How to Parse Text from an Email into a Voice Phone Call

How to Parse Text from an Email into a Voice Phone Call

There are business processes that require parsing important information from the text of an email and then creating a voice message for making a phone call.

When We Need to Parse an Email into a Voice Call

Using the EmailToVoice.Net service, you are able to make a phone call by using any commonly available email interface. EmailToVoice.Net provides the ability to convert the content of an Email to voice using text-to-speech (TTS) and call a phone number. This is extremely useful when monitoring software or a business application can only send an email; but a phone call is necessary to be an effective alert.

But, the content of a voice call can sometimes need to be quite different than an email. For example, the signature section of an email is not needed in a phone call and may sound quite unusual to the phone recipient.

The email signature can be excluded from the voice conversion process. This can be done at the Account level by making the request through the contact us form, or by inserting the EmailToVoice.Net tag called “<End Message>” into the text of the email. Thereby, the email signature is not converted to voice. This makes the call sound more natural for a phone call. And, this also helps in reducing the size of the voice message.

Sometimes Email needs to be parsed into a voice message

Eliminating the email signature can sometimes not be enough. The text of the email may need to be parsed to make an intelligible voice communication, if the original email has tables or is inherently cryptic.

There are several alternatives to parse content of an email into a voice message when using EmailToVoice.Net. One solution is Microsoft Flow. We discussed this service in our Blog post call Using Microsoft Flow with EmailToVoice.Net to Forward an Alert to a Phone. In that post we explain:

So, what is the solution to the dilemma of needing to make a phone call from a general purpose email monitoring service.

One solution is to use Microsoft Flow with EmailToVoice.Net. Following is an example of steps to set up a Microsoft Flow that will accept the alert from the Monitoring Service from a general purpose email address into the customer-owned email address that is authorized to send messages to EmailToVoice.Net. When Microsoft Flow detects an arriving alert message into the customer’s email, Microsoft Flow will trigger an email to be sent from the customer’s email (forwarded) to the EmailToVoice.Net with the same alert message generated by the Monitoring Service.

However, Microsoft Flow can be used for even more than what we discussed in our previous blog post. Flow can be used to parse the content of the email into a smooth flowing message. When the message is converted to a voice by our service, this parsed text will sound natural for the person listening to the voice call. In the U2U blog there is a post explaining the Definition Language used in Microsoft Flow: Using the Workflow Definition Language in Microsoft Flow

What I would like to show in this blog post is how you can extend your flows with a bit more advanced behavior by using the Workflow Definition Language.

In addition to Flow, there are other alternatives to parse an email before it is sent to EmailToVoice.Net such as MailParser and Parserr.

EmailToVoice.Net Staff Can Help

So, there are several effective methods to parse information from an email coming from monitoring software or a business application into a smooth sounding voice call delivered through EmailToVoice.Net. Do not hesitate to contact us if we can assist you further in meeting your business requirements.