Actions4
- User Lookup Actions
- Survey Response Actions
Overview
This node integrates with the Hotjar API to manage survey responses and user lookups. Specifically, the 'List Surveys' operation under the 'Survey Response' resource fetches a list of surveys for a specified site. It supports pagination and filtering through query parameters such as cursor, limit, and whether to include question details. This node is useful for automating the retrieval of survey data from Hotjar for analysis, reporting, or further processing in workflows.
Use Case Examples
- Automatically retrieve all surveys for a given site to analyze user feedback trends.
- Fetch surveys with question details included to build custom reports or dashboards.
Properties
| Name | Meaning |
|---|---|
| Site ID | The identifier of the site for which surveys are to be listed. |
| Query Parameters | Optional parameters to control pagination and response details, including cursor for paging, limit for max results, and whether to include question information. |
Output
JSON
json- Array of survey objects returned from the Hotjar API, each representing a survey with its details.
Dependencies
- Requires Hotjar API credentials including Client ID and Client Secret for OAuth token retrieval.
Troubleshooting
- Missing or invalid Client ID or Client Secret will cause authentication failure.
- If Site ID is not provided for the 'List Surveys' operation, the node will throw an error indicating the requirement.
- API request failures will throw errors with messages prefixed by 'Error calling Hotjar API'.
- Ensure query parameters are correctly formatted; invalid parameters may cause API errors.
Links
- Hotjar API Documentation - Official documentation for Hotjar API endpoints and usage.