Steps to Integrate Typeform with SearchBlox using Zapier. #**Steps in Typeform**

  • Create a form in Typeform and make sure that the form has been filled once.

1295

  • Please note the API key from My Account.

461


# **Steps in SearchBlox**

  • Start SearchBlox

  • Use a text analytics license to make use of entity extraction and sentimental analysis of Typeform data indexed in SearchBlox. For license information, contact [[email protected]](🔗).

  • Create a custom collection.

1186


*Enter the required fields in the collection settings. Also, make sure the same name is used in javascript code in Zapier.

1201


# **Steps in Zapier**

  • In the Zapier dashboard, click on the Make a Zap! button in the top right corner.

1258

  • Choose Typeform as the Trigger app by typing _typeform_ in the input box, and then select it from the drop-down list.

1035

  • Select _New Entry_ as the trigger option for Typeform, and click on the _Continue_ button. It triggers once every five minutes to update the typeform filled by users.

1283

  • Connect your Typeform with Zapier by clicking on the Connect a New Account button.

1070

  • In the pop-up window, enter the TypeForm API Key in the input box, and then submit it by clicking on the Yes, Continue button.

1073

  • Test the connection by clicking on the Test button. After authentication test, a "success" message is displayed. Click on the Save + Continue button.

1258

  • In the Set up Typeform Entry page, forms in your Typeform account will be listed in the drop-down box. Select the one you need; you can also type the form name to access it quickly. After form selection, click on the _Continue_ button.

1301

  • Make sure that there is at least one recent entry made for the typeform, and click _Fetch & Continue_

1334

  • Now, Zapier tests the form accessibility with your Typeform account and displays the success message. Click on the _Continue_ button to create an action for this trigger.

1307

  • On the _Choose an Action App page_, scroll down to the BuiltIn apps section and choose _CODE_ as an action app.

1249

1080

  • Pick _Run Javascript_ as the action code for your Zap and click on the _Continue_ button

1225

  • On the _Edit Template_ screen, pick the needed input fields and name them. By clicking the _Insert a Field_ button on the right side of the second text box, you will find the possible fields from the typeform.

1295

718

  • In the code section, input your Javascript code with Searchblox REST API URL, API key and collection name and click on the _Continue_ button.

759


## Input Fields and Sample Javascript Code

The following are the input fields for a sample typeform feedback form:

idID
sponsorsWhat sponsors do you recall seeing at the event?
feedbackWhy did you give the answer A?
referrerHow did you hear about our event?
placeIf you were to attend, where would you prefer our next event to be?
expectationHow well did the event meet your expectations?

For the preceding data, the javascript would be as follows. You can see that the fields are mapped to content as well as meta fields in the API request.


  • Review the input information and Javascript code in the landing page. Once you are done, click on the _Create & Continue_ button.

1078

  • Zapier tests the code and then displays the "success" message. Enter a name to the Zap and click on the _Finish_ button.

1258

  • Turn on your Zap so that it can automatically check for new entries once every 5 minutes, which would then be indexed in SearchBlox.

1156

1014


# **Results in Searchblox**

1200

1176


Information on Search Results

When mapping the fields to content as in javascript and API, refer the following: Javascript var content= "sponsors" + " : " + input.sponsors + ", " + "feedback" API "content" : content,

All the values will be mapped to content and will be searchable.

When mapping the fields to individual fields in API, request: "meta":{ "sponsors": input.sponsors, "referrer": input.referrer, "feedback":input.feedback, "place":input.place, "expectation":input.expectation }

Faceting can be done in search results.