Demos

How to Track read emails?

21min
ο»Ώ

At the bottom of this article you'll be able to find:

  • import file containing this ready to use, use-case (only few post-import configurations needed).
  • video tutorial, on how to import this use-case & what needs to be done after importing it.

WHY Track read emails?

  • Email marketing campaigns - Tracking email opens and clicks can help marketers measure the success of their campaigns and make adjustments to improve their effectiveness.
  • Sales outreach - Knowing when a prospect opens an email can help sales teams time their follow-up communications and improve their chances of converting the lead.
  • Job applications - Tracking when a potential employer opens your email can give you an idea of how interested they are in your application.
  • Legal notices - Tracking when a legal notice is opened can help ensure compliance and provide an audit trail for legal proceedings.
  • Newsletters - Tracking email opens and clicks can help newsletter publishers understand which topics are most engaging to their readers.
  • Support requests - Tracking when a support request email is opened can help support teams prioritize their responses and improve customer satisfaction.
  • Internal communications - Tracking email opens can help managers ensure that important messages are being read by their teams.
  • And many other scenarios!

HOW TO Track read emails?

By using a Tracking Pixel!

A tracking pixel is a 1x1 pixel image that gets placed in the header or the footer of the sent email so that when the recipient reads/opens the email the image gets downloaded and you can track the downloads of the image.

Obviously, it is important to keep a correlation between the image and the emails sent, so you can uniquely identify each email.

HOW to do this with PROCESIO

Document image
ο»Ώ

You need to create 2 processes in PROCESIO and 1 Webhook:

  • The first process sends the email with the tracking pixel in it and logs into a database the sent email. The tracking pixel is actually a PROCESIO webhook URL that, when downloaded, it triggers the 2nd process;
  • The second process logs the event in the database.

WEBHOOK

We need to create first the Webhook, by selecting the option β€œI want to manually define webhook payload”. You can give it any name you want.

Document image
ο»Ώ

In the β€œPayload definition” section paste the following JSON structure and click β€œGenerate data model”:

{"id": "CBE88532-BF5F-46EE-8C84-B944FE169DDA"}
Document image
ο»Ώ

Now, copy the β€œWebhook URL” and save the webhook!

PROCESS 1

The first process looks like in the following image:

ο»Ώ

Document image
ο»Ώ

Define the variables that you are going to use in this process as in the following image:

ο»Ώ

Document image
ο»Ώ

Now configure the actions as follows:

EmailGuid (Utilitary/Generate GUID action) - it generates a unique ID (GUID) for the email that is about to be sent.

Document image
ο»Ώ

Register Email (Database/SQL Server/Execute command action) - it logs in a database the email that is about to be sent so you can reference it later.

ο»Ώ

Document image
ο»Ώ

You will need to define your SQL server credentials to connect to a database where to store data in a table.

Document image
ο»Ώ
EXEC dbo.Email_Register @EmailGUID = N'<%EmailGUID%>', @SentTo = N'<%EmailTo%>', @SentCC = N'<%EmailCC%>', @SentBCC = N'<%EmailBCC%>', @Subject = N'<%EmailSubject%>', @Body = N'<%EmailBody%>'

This action executes a stored procedure in the database which in turn saves the information to a table.

To create the required objects in the database, run the following script:

Text
ο»Ώ

Encode tracking URL (Strings/String Url Encode action) - it encodes the payload to be sent via the webhook to the 2nd process

ο»Ώ

Document image
ο»Ώ

String Concat (Strings/String Concat action) - it concatenates the Webhook URL you copied when creating the webhook and the encoded payload, as shown in the image bellow.

Document image
ο»Ώ

ο»Ώ

Document image
ο»Ώ

Send Email (Send Email action) - it sends the actual email.

ο»Ώ

Document image
ο»Ώ

You will need to define your SMTPserver credentials to send emails with PROCESIO.

Document image
ο»Ώ

Keep in mind that you need to mark β€œBody is HTML” and in the Body, you need to have this:

<%EmailBody%> <img src="<%EncodedTrackingURL%>" width="1" height="1">

Where

<img src="<%EncodedTrackingURL%>" width="1" height="1">

Is the actual Tracking Pixel, basically adding the Webhook URL + Payload as an image to the email so that the email client will try to download the image triggering the webhook which in turn will trigger the 2nd process to run.

PROCESS 2

The 2nd process looks like in the following screenshot:

ο»Ώ

Document image
ο»Ώ

We need to assign the created webhook to this process so that the webhook will trigger this process when an email is read.

Go to the right-hand sidebar, to the β€œWebhooks” menu and click β€œAssign webhook”, as seen in the screenshot:

ο»Ώ

Document image
ο»Ώ

Now, select the webhook you created and give a name to the β€œLocal variable name”:

Document image
ο»Ώ

Now, define the variable β€œQueryOUT” that you are going to use in this process as in the following image:

ο»Ώ

Document image
ο»Ώ

You will notice that the β€œTrackEmail” variable coming from the webhook is already visible and you will be able to use it in the process.

Now configure the actions as follows:

Track email in DB (Database/SQL Server/Execute command action) - it logs in a database the email ID that was read.

ο»Ώ

Document image
ο»Ώ

You will use the same SQL server credentials you used in the 1st process to connect to a database where to store data in a table.

Document image
ο»Ώ

The command is:

EXEC dbo.EmailOpened_Register @EmailGUID = N'<%TrackEmail.id%>'

This action executes a stored procedure in the database which in turn saves the information to a table.

To create the required objects in the database, run the following script:

Text
ο»Ώ

That is it!

Now you can run Process 1 to send emails directly or from other processes Import File

Use below .procesio file, for importing this use-case dirctly to one of your workspaces (feel free to create a new workspace dedicted for this example).

By using the import file you will obtain this almost ready to use, use-case directly to the workspace. You won't have to follow all the above mentioned steps but only perform the import & some configuration adjustments depicted in the video below.

Video tutorial on how to import

Watch below youtube tutorial, in order to do the ncessarly adjustment post-import.

ο»Ώ

ο»Ώ

Add file
or
No file chosen
ο»Ώ

ο»Ώ

ο»Ώ

ο»Ώ

ο»Ώ