Integrate Route4Me With Zapier

 

Route4Me route optimization software can connect to multiple web applications via a simple Zapier integration. For example, you can establish a connection between your company’s Slack channel and your Route4Me account via a Zapier integration. Zapier is a powerful integration platform that launched in 2011. It works as a translator between different APIs, allowing you to bridge the gap between various web applications and automate tasks across them.

 

Features and Usage Examples

You could set Zapier up to send you an alert on Slack every time a file is uploaded to a Dropbox folder you’re sharing with someone.

It’s all based on what Zapier calls triggers and actions. In the previous example, uploading a file on Dropbox was the trigger, and sending an alert on Slack was the action. The trigger and the action together are known as a Zap.

The best part is that the Zapier Scripting API allows developers to modify pretty much everything, so you can design all kinds of different Zaps with the 750+ apps that are compatible with Zapier.

 

Route4Me on Zapier

There are many different ways to use Zapier with Route4Me. You can use it to take customer addresses from your CRM solution and pin them to your map in Route4Me; you can use it to save orders from your eCommerce solution and schedule them for specific dates on Route4Me. You can also use it to automatically publish reports on Facebook pages every time a driver finished a route.

Those three examples are just the tip of the iceberg when it comes to Route4Me + Zapier’s capabilities. The possibilities are endless.

The following section provides an example of using Gmail with Route4Me on Zapier.

 

A Zapier Integration Example of Route4Me with Gmail

We are going to demonstrate how a Zapier integration can use Gmail to send you emails if one of your routes has been optimized in your Route4Me account. Zapier will monitor your Route4Me account for any route optimization activity and use Gmail to notify you through email.

 

Creating a Two-step Zap

We are going to create a Two-step Zap for our example. A two-step Zap mainly consists of one Trigger and one Action step.

To familiarize yourself with Zapier concepts and terminologies, reading their getting started guide and terminology page is an excellent place to start.

Now, here’s an overview of what our example would look like:

Two-Step Zap: Consists of one Trigger Event and one Action Event.

  1. Trigger – any Route4Me Route Optimized activity
  2. Action – Gmail Send Email action

Please follow our example as instructed, especially the choices and the text values provided, unless stated otherwise.

Also, make sure you have a valid and usable Route4Me account and a Zapier account. Registering on Zapier is easy and free, and you can use its Free plan to test our example.

Create a Zapier account.

 

Step 1 – Creating the Trigger

Assuming that you already have a Zapier account or have created one, log in to your account to begin creating our example Two-step Zap. The first step in creating a Zap is to create a trigger that starts the workflow.

On your Zapier account’s home page, ensure that the Explore tab is active. Click the Make a Zap! button to start creating the trigger.

Create Zapier Trigger: Go to the  "Explore" tab on Zapier and click the "Make a Zap!" button to start creating the trigger.

 

Our trigger is the Route4Me app. Type “route4me” in the Choose a Trigger App dropdown field and select the app once it appears in the autocomplete box.

Choose a Zapier Trigger App: Select Route4Me when choosing a trigger app on Zapier.

 

Select the New Activity option (as of this writing, it’s the only option) in the Select Route4Me Trigger selection and then click the Save + Continue button.

Select "New Activity" in the "Select Route4Me Trigger" section and then click the "Save + Continue" button.

 

The first time you use the Route4Me app in Zapier, you’ll be required to connect your Route4Me account. Click the Connect an Account button to link your account to the app.

Connect Route4Me account when running Zapier for the first time.

 

Provide your Route4Me API key in the API Key field and click the Yes, Continue button to proceed.

Input your Route4Me API key into Zapier.

 

Click the Test button to see if Zapier can connect to your Route4Me account. Once done, click the Save + Continue button to continue.

Connect Route4Me to Zapier: Click the "Test" button to confirm if a connection has been successfully established.

 

You need to select a particular activity (or all activities) that you want Zapier to monitor in your Route4Me account. Select the Route Optimized item.

Set up Route4Me Activity: Select which Route4Me activity Zapier will monitor for, such as "Route Optimized".

 

Click Continue.

Confirm your selected Route4Me activities for Zapier monitoring.

 

Choose a list of activities that Zapier retrieved from your Route4Me account. It’s not a comprehensive list of activities, just a few so that you can finish setting up your trigger. Click Continue to complete and create it.

Choose a list of activities that Zapier retrieved from your Route4Me account.

 

The next major step is to configure an Action step. This is the last step you need to do to complete our Two-step Zap. Click the Your Zap currently lacks an Action step. Add one now! link to proceed.

Create a Two-Step Zap: To complete a Two-Step Zap, click the "Your Zap currently lacks an Action step. Add one now!" link.

 

Step 2 – Creating the Action

You need to create an Action step that will handle your Zap’s trigger. Similar to creating your Trigger, you need to associate an app or service as your Action step.

Type Gmail in the Choose an Action App dropdown field and select the app once it appears in the autocomplete box.

Creating Zapier Action Event: Like creating a Trigger, you need to associate an app or service as your Action Event. Type Gmail in the "Choose an Action App" dropdown field.

 

Next, select the Send Email option from the list of Gmail Actions available. Then, click the Save + Continue button.

Creating Zapier Action Event: Select "Send Email" in the "Select Gmail Action" screen and click "Save + Continue".

 

The first time you use the Gmail app in Zapier, you’ll be required to connect any Gmail account you own. Click the Connect an Account button to start linking your Gmail account to the app.

Creating Zapier Action Event: When you first use the Gmail app in Zapier, you'll be required to connect a Gmail account. Click the "Connect an Account" button.

 

Next, click on the Gmail account you want to use for this Action step.

Creating Zapier Action Event: Select the Gmail account you want to use with Zapier from you list of Google accounts.

 

Next, click Allow.

Creating Zapier Action Event: Allow Zapier to access your Google account.

 

Next, click the Test button to test if Zapier can connect to your Gmail account, and once done, click the Save + Continue button to proceed.

Creating Zapier Action Event: Click the Test button to test if Zapier can connect to your Gmail account.

 

You then need to set up the template for your email message. In the Set up Gmail Email form, enter your Gmail account in the To field. Don’t leave this field blank because it is required when doing a test email later on.

Also, ensure that the Setup Preview option is enabled. If it’s not, then click it to toggle.

Create Zapier Email Template: In the "Set up Gmail Email" form, enter your Gmail account in the "To" field.

 

Next, scroll down below and look for the From Name field. Use the text Route4Me + Gmail notification Zap as its value. Then, in the required Subject field, use the text Route Optimized Notification as its value.

Create Zapier Email Template: Scroll to the "From Name" field, type "Route4Me + Gmail notification Zap". Then, in the required "Subject" field, type "Route Optimized Notification".

 

Next, you need to provide a value for your email body. A simple message is good enough, but it’s also possible to use the data from a Route4Me activity you’ve previously specified as the trigger. In our example, it’s the Route Optimized activity. This means that you can retrieve the data or field values from the route that was optimized, like its route name, the name of the member who owns or created the route, the route creation date, etc.

Click the form-looking icon located at the right-most part of the Body field, and from the selection list, choose the Route Name field. On your end, the data for this field is different compared to the one depicted in the screenshot.

Create Zapier Email Template

 

You can also add text alongside the field you just selected. Ensure that the value of the Body field is similar to this:

Create Zapier Email Template

 

Next, scroll down below and click the Continue button to finish setting up the template.

Create Zapier Email Template

 

Next, review how the test email should look with the values you provided in the template. Once done, click the Send Test To Gmail button to send the test email. Please don’t skip this test as this verifies if the values you provided in the template are valid or not.

Send Test Email to Gmail from Zapier

 

A test email should be in your Gmail account’s inbox by now. Check your inbox and review the test email if the values you provided in the template appear as expected.

Zapier Action Event Test Email

Zapier Action Event Test Email

 

If you approve, go back to your Zapier account and complete your Action step by clicking Finish.

Confirm and Save Zapier Action Event Email Template

 

Next, you need to turn on your Zap so that it can check your Trigger every few minutes or so (the frequency of the check depends on your Zapier plan). You should also name your Zap to identify it quickly. Name it with Route4Me+Gmail notification.

Activate Route4Me Two-Step Zap on Zapier

 

Once turned on, your Zap is now complete. Click the See it on your dashboard button to go to your Zapier dashboard and to test your Zap.

Add new Zap to Zapier dashboard.

 

Running and Testing the Zap

Your Two-step Zap is now complete, but you need to test it manually to make sure it detects the Trigger and runs the Action correctly.

On your Zapier dashboard, check your Zap and make sure that it is on. If it’s not, then click the toggle button to turn it on.

Running and testing new Two-Step Zap on Zapier.

 

Once the Zap is on, click its dropdown icon and click Run from the list of commands that appear. Zapier will do a manual run of your Zap.

Select "Run" from the dropdown menu on your new Zap to test it.

 

Zapier can’t find any new Route Optimized activity because it already checked your Route4Me account when you were first configuring your Zap’s trigger. Click Close to close the dialog box.

Two-Step Zap Manual Run Status

 

There must be a new Route Optimized activity in your Route4Me account for Zapier to detect and for your Zap to work. Log in to your Route4Me account and select any one of your routes to reoptimize.

There must be a new Route Optimized activity in your Route4Me account for Zapier to detect and for your Zap to work.

 

Look for the gear icon beside the name of your route and click it.

There must be a new Route Optimized activity in your Route4Me account for Zapier to detect and for your Zap to work.

 

Then, click Re-optimize Route to reoptimize your route.

Re-Optimize Route to trigger Two-Step Zap on Zapier.

 

If you want, you can also check your Route4Me Activity Feed because every Route Optimized activity that occurred gets logged there. Your Zap can now detect this new activity.

Check your Route4Me Activity Feed to see every Route Optimized activity.

 

Next, go back to your Zapier dashboard and manually rerun your Zap. Your Zap then executes its workflow, from seeing the new activity (the trigger) and then sending you the email (the action). Click Close to close the dialog box.

Check Manual Run Status to confirm Two-Step Zap on Zapier has successfully sent an email.

 

Finally, check your Gmail to see the email sent by your Zap.

Route4Me Activity Zapier Email

Route4Me Activity Zapier Email

 

Our example Zapier integration of Route4Me and Gmail finishes here. However, there are many more web applications that you can integrate and use with Route4Me.

 

 

Disclaimer

All the trademarks, logos, and brand names on this page are for identification purposes only. We do not endorse these trademarks, logos, and brand names. All the trademarks, logos, and brand names are the property of their respective owners. If any of the trademarks, logos, and brand names are your property or the property of your company, and you would like us to remove them from our website, please contact us at [email protected] to submit your request.

Was this article helpful?
Still can't find what you're looking for? Contact us
Route4Me

About Route4Me

Route4Me has over 40,000 customers globally. Route4Me's Android and iPhone mobile apps have been downloaded over 2 million times since 2009. Extremely easy-to-use, Route4Me's apps create optimized routes, synchronize routes to mobile devices, enable communication with drivers and customers, offer turn-by-turn directions, delivery confirmation, and more. Behind the scenes, Route4Me's operational optimization platform combines high-performance algorithms with data science, machine learning, and big data to plan, optimize, and analyze routes of almost any size in real-time.