Skip to main content

Survey Response Data and Account Association Solutions

Objectives

  • Associate survey response data with user identifiers from third-party systems
  • Enable third-party systems to receive response data in real-time

Solution 1: Custom Parameters

  • Advantages: Low integration cost
  • Disadvantages: Parameters may be forwarded, causing multiple responses to be associated with the same user identifier

Integration Steps

  1. Set up Custom Links, add a userid field to the survey link, and generate specific links for different respondents
  1. Send the survey link to corresponding respondents for completion
  2. Receive response data through Data Push, the userid field will be included in the payload data
  3. Or retrieve response data through the Get Response Details API, the userid field will be included in the data

Solution 2: Create Third-party Account (Respondent Side)

Important Note

This feature is available in the Business plan. If you haven't upgraded yet, please upgrade before using this feature.

  • Advantages: Rigorous login logic, unique account
  • Disadvantages: Higher integration cost, requires combination of multiple APIs

Integration Steps

  1. Use Register Third-party Account to create an SSO account for respondents, set type as respondent, and pass openid as the unique user identifier
  2. Call the Get One-time Login Code API for silent account login. The login timing is controlled by the implementer. Please ensure users have already logged into your internal system to prevent data leakage or unauthorized access
  3. Construct Link with the one-time login code, use action:survey_collect to get the redirect link. Guide users to the link where they will be silently logged in to the survey and directed to the response page
  4. Receive response data through Data Push, the third_party_user field in the payload data will contain the registered third-party account information
  5. Or retrieve response data through Get Response Details API, the third_party_user field in the data will contain the registered third-party account information