Have Questions? (800) 477-0970

Advanced Feature: Communicating with External Databases through HTTP POST

Posted by 3 Responses Filed in: How-to articles, SurveyGizmo News

SurveyGizmo’s Enterprise level account offers a range of features for the advanced user. One of the most powerful features is HTTP POST. The HTTP POST allows SurveyGizmo to interact with other websites in one of three primary ways:

  • Send data to a website so it can be updated or captured
  • Display the output from another website
  • Send data to a website and retrieve data to pre-populate fields in the survey

In most cases, it is necessary to be familiar with web design and programming (or have someone on staff who is) to get the highest level of automation. However, if this is a resource that is available to you, the possibilities grow exponentially. First, we’ve compiled two surveys to demonstrate the abilities of the HTTP POST action.
Warning: SurveyGizmo is not responsible for the content submitted by users testing out the following surveys. We will try and remove inappropriate content on a regular basis.

First, to demonstrate the ability to add content to an external database, the following survey will capture the data and provide you with a unique ID: add HTTP POST data

Second, to demonstrate recovering that data (it is linked to from the first survey also) and getting summaries of information, check out the ability to retrieve data via HTTP POST

So what else can you do with HTTP POST? What are some other possible uses? Here are a couple more ideas:

  • Pass a user id from your website’s user database with the survey link, and then use HTTP POST to send that id back to your site and pre-populate the survey with customer details (account type, years as customer, etc) that you would not want the user to see but may be used to change logic and survey flow.
  • Transmit contact information from a survey form directly into your database to update user information.
  • Use complex quiz scoring (outside of the scope of SurveyGizmo Tally score quiz action) on your site by transmitting survey responses to your site for processing and return recommendations to the survey taker.
  • Update other web services such as CampaignMonitor.com’s subscriber record through their API (future tutorial)
  • Capture the data into another piece of software, such as capturing sales inquiries in a ticket tracking system through a form on your website (assumes functionality in the other piece of software)

I’m sure there are other ideas out there, and we would love to hear about them in the comments below. If you are looking for an advanced survey solution for power-users, SurveyGizmo’s HTTP POST action may integrate into the rest of your company or website’s activities.

Note: since about 2009 this mechanism has come to be more generally known as a WebHook. It’s a very powerful feature and we’d love to see wider use of it. In fact, we use it to power our API developer key request form.

Tags: , , ,
Share This:

Have you tried SurveyGizmo yet? Try our 14 day free trial

About the Author

Mario Lurig
Technical Training Manager at SurveyGizmo. Mario hails from Reunion, France off the coast of Madagascar in the middle of the Indian Ocean… no, really… then Kenya, United Arab Emirates, and Florida till 2004. He is an author of two books: an ebook of conversation starters and a PHP book. He is also an avid cyclist and tennis player, and is 1-0 in knife fights. His most recent project benefits authors tracking amazon sales rank.


Responses
RSS feed for comments on this post.  •  TrackBack URI

  1. 1

    I’d love to use HTTP post for retrieving survey data ‘as it happens’, rather than polling through the API. Is there any more information on the technicalities of doing so?

    Kevin on Sat, Dec 11 ’10 at 7:02 am #
  2. 2

    Hi Kevin,
    Here is a tutorial on the HTTP Post action that you might find helpful: http://www.surveygizmo.com/survey-support/tutorials/http-connect-post-or-get-data-to-external-webpages/
    Cheers!
    Brittany

    brittany on Mon, Dec 13 ’10 at 12:43 pm #
  3. 3

    Hi, could method this be used to get data from a M’soft Reporting Services web site report and then display data as prepopulated fields in a SG survey?

    Julian Allen on Mon, Jan 10 ’11 at 4:38 pm #

Respond.


Start your free 14 day trial

Get all features for $50/month. Add users for $20/month each.

Questions? Call us anytime during your trial at (800) 477-0970.

No credit card required.

  • Call us at (800) 477-0970
    for help setting up larger teams.

* Extra users are free for the duration of your trial.
You can change the number before upgrading to a paid plan.

The Survey Expert Blog

By

Why Survey Design Matters for Feedback Surveys

February 3 2012 -

Survey Expert Ryan Farmer observes that many well-known companies aren’t branding their surveys, and discusses why survey design is hyper-important when you want to gather customer feedback.

By

New Team Management & User Permissions System

Starting February 2nd, SurveyGizmo is launching a new set of user management features. Learn more about them here!

By

5 Questions with SurveyGizmo co-founder and CEO Christian Vanek

Boulder’s Daily Camera newspaper interviews Christian Vanek, who shares what’s next for the company.

More from our Survey Experts