Category: HowTo

[HowTo] Create a Salesforce Lead from frevvo

art-cogs-colorful-171198 (1).jpg

In the last post, we described how to integrate a frevvo form/workflow with Quickbooks to create a new customer. Another common integration we see is with Salesforce. Similar to the Quickbooks integration, you can use the combination of Google Sheets + Zapier to make things happen in Salesforce when a frevvo form/workflow is submitted.

For example, let’s say you want to create a new Lead in Salesforce. The process is very simple and similar to the Quickbooks example.

1. Create your Google Sheet

Screen Shot 2018-05-21 at 9.23.54 PM.png

Our example has several fields as shown above and test data in the first row. Make sure yours has a header row and at least one row of sample data. The columns in your sheet will depend on your Salesforce Lead fields. You must have a column for each required Lead field.

2. Create a Zap (in Zapier) and setup Google Sheets

Select Google Sheets as the trigger app, choose “New Spreadsheet Row” as the trigger, connect your Google Account, choose the Spreadsheet and Worksheet and pull in the sample row you created earlier.

 

This slideshow requires JavaScript.

3. Connect the Action of the Zap to Salesforce

Choose Salesforce as the Action App, select the Create Lead action, connect your Salesforce account, map fields to setup the Salesforce Lead template, and run a Test. Assuming the test is successful, give your zap a name and activate it.

 

This slideshow requires JavaScript.

4. Create your frevvo form or workflow and connect it to Google Sheets

Create the frevvo form with the appropriate fields and connect it to Google Sheets using the Save to Google Sheets wizard. When the form is submitted, a row is created in your Google Sheet. After a few minutes, the Zap will pick up the new row from the sheet and create your new Salesforce lead.

That’s all there is to it. With frevvo + Google Sheets + Zapier, you can easily and affordably integrate with 1000s of applications that Zapier supports without writing a single line of code.

Give it a whirl – sign up for a free trial today.

[HowTo] Create a Quickbooks customer from frevvo

google-sheets-1.png

As many of you know, it’s trivial to integrate frevvo forms and workflows with Google Sheets. There are many things you can do with this integration but the simplest and most common is to create a new row in the Google Sheet when a form is submitted. By combining this with Zapier’s integration platform, you can accomplish a vast array of integrations.

You can integrate with 100s of systems in this manner e.g. create a new Customer in Quickbooks. Here are the steps (this post has a lot of screenshots):

1. Create your Google Sheet

Screen Shot 2018-05-15 at 11.25.25 AM.png

Our example has several fields as shown above and test data in the first row. Make sure yours has a header row and at least one row of sample data.

2. Create a Zap (in Zapier) and setup Google Sheets

Select Google Sheets as the trigger app, choose “New Spreadsheet Row” as the trigger, connect your Google Account, choose the Spreadsheet and Worksheet and pull in the sample row you created earlier.

This slideshow requires JavaScript.

3. Connect the Action of the Zap to Quickbooks Online

Choose Quickbooks Online as the Action App, select the Create Customer action, connect your Quickbooks Online account, map fields to setup the Customer template, and run a Test. Assuming the test is successful, give your zap a name and activate it.

This slideshow requires JavaScript.

4. Create your frevvo form or workflow and connect it to Google Sheets

Create the frevvo form with the appropriate fields and connect it to Google Sheets using the Save to Google Sheets wizard. When the form is submitted, a row is created in your Google Sheet. After a few minutes, the Zap will pick up the new row from the sheet and create your new Quickbooks customer.

This slideshow requires JavaScript.

It’s as easy as that. With frevvo + Google Sheets + Zapier, you can easily and affordably integrate with 1000s of applications that Zapier supports without writing a single line of code.

Give it a whirl – sign up for a free trial today.

V7.3 – Dynamic pick lists & web services

One of the most common features our customers use is dynamic pick lists (or radio/checkbox controls). Examples abound such as a List of products for a Sales Order / PO, Number of available vacation days for a Leave Approval, List of projects for a Time Sheet and many others. With frevvo, you could always setup dynamic options using a business rule written in JavaScript.

/*member productCode, productName, resultSet*/
var x;
if (form.load) {
eval(‘x=’ + http.get(‘http://localhost:18080/database/BIRT/allProducts’));
var opts = [];
for (var i=0; i < x.resultSet.length; i++) {
if (x.resultSet[i]) {
opts[i] = x.resultSet[i].productCode + ‘=’ + x.resultSet[i].productName;
}
}
Products.options = opts;
}

V7.3 – no JavaScript

Products-WS
Selection Control connected to a web service

Starting with V7.3 (late August 2017), you can select an Options Source in the Properties pane for the selection control (drop down, radio or checkbox). By default, the Source is Design Time which simply means the choices are static and the designer specifies the list of options by typing them in at design time. But, you can now select Web Service. If you do that, three additional properties appear below:

 

  • Options URL: This is the end point for the web service. If you’re using the database connector,  it’ll be the same as the URL used in the JavaScript rule above. The assumption is that this call returns either XML or JSON.
  • Value binding: the path in the returned XML or JSON that determines the value of the select control (what’s in the submission).
  • Label binding: the path in the returned XML or JSON that determines the label of the select control (what the user sees).

That’s it. The URL can also be dynamic.

Edmunds
Selection control connected to the Edmunds API

For example, the screenshot at left shows a checkbox control that’s connected to the Edmunds API. The Options URL depends on the Year since that web service API returns Car Makes for a particular year. The URL is set to:

https://api.edmunds.com/api/vehicle/v2/makes?state=new&year={Year}&view=basic&fmt=json&api_key=<key hidden>

When the user types something in Year, the web service is automatically called, the results are refreshed and the choices in the Car Makes checkbox will change based on whatever the web service returned.

V7.3 will be released at the end of August. Visit our website and sign up for a free 30-day trial if you’d like to learn more or contact us for more information.

How To: Dynamic email addresses

A question we get asked frequently is how to send an email from a form or flow submission where the email address of the recipient is dynamically determined at runtime. For example, I have a drop down control and if the user selects HR, I want the email to go to the HR Department (hr@example.org) and if the user selects Finance, I want to send it to Finance (finance@example.org).

It’s very easy in frevvo.

1. Create a hidden Email control in your form.

AdminEmail

Drag & drop an Email control in your form. In the Properties panel, uncheck Visible so the control is hidden from the end user. Name the control Admin Email. We assume that you already have a drop down control (in the screenshot, it’s called Department and the choices are HR and Finance).

When the user selects HR from the Department drop down, we’ll set the Admin Email hidden control’s value using a business rule.

2. Set the Admin Email address using a business rule

Create a simple business rule.

if (Department.value == ‘HR’) {
AdminEmail.value = “hr@example.org”;
} else if (Department.value == ‘Finance’) {
AdminEmail.value = “finance@example.org”;
} else {
AdminEmail.value = null;
}

In frevvo’s Winter release (expected in late 2017), you’ll be able to create these type of rules visually with the Visual Rule Builder.

3. Use the Admin Email control in the To: email

AdminEmailWizard
Email Wizard that uses a control template

In any Email wizard, you can use the Admin Email hidden control for the To:, Reply to:, Cc: and other fields. In the above example, we’ve used it for the To: field.

That’s it. When the User selects HR, the rule will set the Admin Email control to hr@example.org. When the form is submitted, the Admin Email template in the To: field will be evaluated and will resolve to the value of the corresponding control (hr@example.org). The email will be sent to the dynamically resolved email address.

frevvo 7.1: Submissions Search

We’re always working on improving frevvo based on customer feedback. We have ambitious longer-term plans but we’re tackling some of the most common requests ASAP.

frevvo V7.1 (which will be available later this year) includes one such item: the ability to search for submissions based on form data. There’s also a new Submissions View and Excel export. Let’s take a look using a Contact Form.

searchable-fields
Searchable Fields wizard

First, you have to define your Searchable fields using a wizard. Simply add/remove Searchable fields as desired. Once defined, frevvo can also go back and re-index your existing submissions so you can search them using the same fields. In our Contact Form, we’ve chosen First Name, Last Name and Email Address.

Then, go to the Submissions View for the form. By default, you’ll see the Submissions for the past month with no other filters applied. Searchable Fields appear in the table if they fit.

Expand the Submissions Filter Section. You can filter and search for submissions by a wide variety of criteria. There’s Date Range and Submission State but you can choose other criteria including the Searchable fields. You can also create a logic expression as shown in the image. We’re searching for Submissions this year where the email address contains frevvo.com and the first name begins with either M or P as the shown in the logic expression field.

filter
Filter/Search for submissions

If the columns don’t fit on the screen (for example, on a mobile device), you can click + for any row to view them. As usual, you can double click any submission to view details (XML document, PDF, attachments, signatures etc.) and delete unwanted submissions.

submssions
Expand/Collapse individual submissions to view details

Similar functionality is available in the Task List as well – we’ll describe it in a separate article. And, in a future release, we plan to unify these user interfaces so you can handle tasks, submissions and reports from the same place in the UI.