Survey Configuration
Configure survey integrations to collect and display survey responses in DMS.
Overview
DMS integrates with survey platforms to:
- Receive survey responses via webhooks
- Match responses to users automatically
- Display responses to users with visibility rules
- Aggregate and analyze response data
Supported Platforms
Qualtrics
Industry-leading survey platform with robust webhook support.
Features:
- Real-time webhook delivery
- Rich response data
- Automatic user matching
Setting Up Qualtrics
1. Create Survey Definition
- Go to Surveys > Definitions
- Click Add Survey
- Configure:
- Survey ID: From Qualtrics (e.g.,
SV_abc123) - Survey Name: Display name
- Email Field: Field containing respondent email
- Survey ID: From Qualtrics (e.g.,
- Save
2. Configure Webhook in Qualtrics
- In Qualtrics, open your survey
- Go to Workflows
- Create a workflow triggered by Survey Response
- Add a Web Service task
- Configure:
- URL:
https://your-domain.com/api/webhooks/qualtrics/{tenant_id} - Method: POST
- Body: JSON with all embedded data
- URL:
3. Test the Integration
- Submit a test response
- Check Surveys > Responses in DMS
- Verify the response appears
Survey Definitions
Creating a Definition
{
"survey_id": "SV_abc123",
"survey_name": "Event Feedback",
"provider": "qualtrics",
"email_field": "RecipientEmail",
"default_visibility_rules": [
{
"rule_type": "attribute_match",
"rule_config": {
"attribute": "registration_status",
"value": "confirmed"
}
}
]
}
Configuration Options
| Field | Description | Required |
|---|---|---|
survey_id | Survey identifier from provider | Yes |
survey_name | Display name | Yes |
provider | Survey platform | Yes |
email_field | Field for user matching | Yes |
default_visibility_rules | Rules for new responses | No |
Email Field Mapping
The email_field tells DMS which field contains the respondent's email:
| Provider | Common Email Fields |
|---|---|
| Qualtrics | RecipientEmail, EmailAddress, Q_Email |
Response Matching
When a response is received:
- DMS extracts the email from
email_field - Searches for a user with that email
- If found, associates the response with the user
- If not found, stores response with null user
Matching Status
- Matched: Response linked to existing user
- Unmatched: No user found, response stored for later matching
Re-matching Responses
If users are added after responses arrive:
- Go to Surveys > Unmatched Responses
- Click Re-match All
- DMS will attempt to match based on email
Visibility Rules
Default Rules
Set rules that apply to all new responses:
- Edit the survey definition
- Configure Default Visibility Rules
- Save
New responses will automatically have these rules.
Applying to Existing Responses
To update existing responses with new rules:
- Edit the survey definition
- Click Apply Rules to Existing
- Confirm
Dynamic Rules
Rules can use survey response data:
{
"rule_type": "attribute_match",
"rule_config": {
"attribute": "response.satisfaction",
"value": "Very Satisfied"
}
}
Viewing Responses
Response List
- Go to Surveys > Responses
- Filter by survey
- View response summaries
Response Details
Click a response to see:
- Full response data
- Matched user information
- Visibility rules
- Timestamps
Export
Export responses for analysis:
- Select responses or "All"
- Click Export
- Choose format (CSV, JSON)
Analytics
Response Metrics
- Total responses
- Matched vs unmatched
- Response rate over time
- Average completion time
Survey-Specific Analytics
Depends on your survey questions. Common metrics:
- Satisfaction scores
- NPS calculations
- Question-by-question breakdowns
Troubleshooting
Responses Not Arriving
- Check webhook URL is correct
- Verify tenant_id in URL
- Check Qualtrics workflow is active
- Review Qualtrics delivery logs
Responses Not Matching Users
- Verify
email_fieldconfiguration - Check if user emails match exactly
- Look for leading/trailing spaces
- Ensure users exist before response submission
Visibility Rules Not Working
- Check rule configuration
- Verify user has required attributes
- Test with admin account (bypasses rules)
- Review rule evaluation in activity log
Best Practices
Survey Design
- Include email as an embedded data field
- Use consistent email collection across surveys
- Test webhook delivery during development
User Management
- Sync users before launching survey
- Keep user emails up to date
- Handle email changes carefully
Response Handling
- Review unmatched responses regularly
- Apply visibility rules thoughtfully
- Monitor response rates
Related Topics
- Visibility Rules - Rule details
- User Sync - Ensuring users exist
- API Reference - Survey API