Showing posts with label Email Templates. Show all posts
Showing posts with label Email Templates. Show all posts

Saturday, March 31, 2012

Rule based Email Triggers to Automate Business Processes, using Workflows

Apart from helping build your own online database application, iFreeTools can now help with automating more of your business processes, using workflows. Workflows in iFreeTools can check for criteria-rules during database changes and can trigger actions before or after those database changes.

For the first cut of the workflow implementation, we have enabled sending out emails as part of the workflow actions. More workflow actions like adding / updating records (like creating a task), invoking external web-APIs, etc.,. are to be supported very soon.

Defining and using workflows is as simple as filling in a form.

Let us assume, for example, that you have a custom customer support database application built and hosted using using iFreeTools single-tenant deployment in your own Google App Engine account and that you have a web-form in your website using which support requests can be made.

Now, if you wanted to send an automated email to the user's email-id informing that the request has been received and will be processed by your staff soon and to also notify your team of the new support request, then the workflow configuration can be as given below..



Configuring the workflow actions is also very easy, where you can enter the details of the recipient and providing the subject and the contents of the email in the Select Action form. Both subject and contents can have template fields from the database record and will be replaced with actual values when sending out the email.



For this workflow we did not add a workflow rule or the criteria to be matched before the workflow action can be executed. But in case you want to restrict the notifications to only High / Medium severity support requests, you could have done that too. The criteria form  is similar to the Custom Views form and you can specify criteria based on operators is, is not, contains, does not contain.


As can be seen in the messages in the screen-shot images, workflows will be a premium feature available for paid, single-tenant deployments alone, which by the way is very much affordable :

  • $99/year for up to 25 users (which works out to $8.25/month or $0.33/user/month)
  • $198/year for up to 100 users (works out to $16.5/month or $0.165/user/month)
  • $297/year for unlimited users

If you are using the free multi-tenant deployment, you can still try out the feature by creating the workflows and viewing the Notification Tasks records added in Preview status, showing the actual subject and the contents of the email, based on the email-template provided in the workflow configuration.


We will be adding more workflow actions to add / update database records (like creating a task), invoke external web-APIs, etc.,. If you are looking for some specific use-case which you would like to automate using workflows, kindly get in touch with us with details, using the feedback form in the application.


Thursday, May 27, 2010

Feature Preview : Email Templates and Bulk Emails

We are now working on have rolled in a new feature for iFreeTools, which is Email Templates and Bulk Emails.

Email Templates enable you to automate mailing work by allowing you to define templates, which can include fields from the records and then to send out mails with their values replaced (mail-merge).

This new feature will now be supported for records which have an Email attribute.

For iFreeTools CRM, this will include Lead, Contact, Vendor and Case records.

And, for iFreeTools Creator - where one can create their own custom database application online - String attributes can now be marked as email and will automatically get this feature enabled for those Entities.

The following screen-shot image shows Owner's Email ID property, from the sample app used in our walk-through for using iFreeTools Creator, being marked as an Email Property. The transform function is also used to trim the values to remove spaces and convert it to lower-case.

Similarly, we can also mark the Tenant's Email ID property.

Once this is marked, a new action button will become available in the list views. For the CRM app, as mentioned earlier, this has been pre-configured for Leads, Contacts, Vendors and Cases.

In the above view, the option is disabled, because no records have been selected.

Let us select a few records to proceed to check out how this feature would work. Shown below are 3 record selected before triggering Send Email


The default view will be as given below. Since this is a preview release of the feature, the message on the top informs you that Notification Tasks will alone be added in Preview status - which means actual emails will not be sent, for now.

You will have an option to just send an email once or to save the template providing the name, description, type of email and sharing options. Admin users can create templates for themselves or for all users, like it is possible with our Custom Views and Custom Actions.

We will now proceed to create a Welcome Email template, and make it available for all users. One can include fields from the records, which are listed on the left on the content box and can be clicked to be inserted into the contents. You can also use BBCode. The supported BBCode tags are : b, i, u, s (strike), url, quote, img, list with *, size, color, center, code and p.

Fields are supported within mail subject too, as shown in the screen-shot below..


Proceeding to send email, you will see a page as shown below. Notice the message on the top, that the email template has been added. The notification tasks will be added sequentially for each of the record instances.


Let us now check for the results.

Clicking on the Notification Templates, we find the template listed..


Proceeding to the Notification Tasks view, we find 3 records present with status as Preview. Also notice how the values have been replaced with actual values from Owner records.


And, this is one of the Notification Task's details view..


Notice that I had done a mistake in my template code by providing HTML instead of BBCode for the content "Personal Executive" - happens when switching between writing a blog post and the app, taking screen shots :-). Anyway, we can edit the template to correct this, which we will be doing now while explaining another important feature, which is Automatic Dupe Detection for Bulk-Emails.

To explain how Automatic Dupe Detection for Bulk-Emails works, we will again trigger the Send Email from the Owners list view with all the records selected and proceed to the email-template view as given below. Now, select the template from the selection box and click on Modify and Save options next to that box. Edit the content as required and then proceed.


In the subsequent page, we will see the results for the notification tasks being added, as shown below. The engine will detect dupe emails based on the notification identifier, which for now is taken to be the subject of the email. So, notification tasks will be added only for those records which have not already been mailed with the same subject.


This is a preview release of the Email Templates and Bulk Emails feature. When this is fully enabled, the tasks would have triggered emails and end up with status as Executed.

(Update : Bulk emails feature has been fully enabled for all paid, single-tenant deployments.)

For each of the notified users, a record will be added in Notified Users, under Admin. This will be used to enable users to opt-out of notifications, if they prefer to do so - confirming to CAN-SPAM regulations for Promotional emails.

We plan to integrate with SMS gateways too, which will follow the similar flow, except that the Subject will be ignored and the Content will have to be short.

(Update : Bulk SMS from your online database has also been enabled, by integrating iFreeTools with Twilio.)

Play around with our iFreeTools and let us know your feedback on how we can make things better.