Skip to main content
Version: 9.2

Automation

The Automation widget allows you to embed the Automated Flows feature within an application.

Embeddable Script

<!-- Tag -->
<qrvey-workflow-design settings="config"></qrvey-workflow-design>

<!-- Config -->
<script>
var config = {
apiKey: '<API_KEY>',
domain: '<DOMAIN>',
userId: '<USER_ID>',
appId: '<APP_ID>'
};
</script>

<!-- Launcher -->
<script type="text/javascript" src="https://<your_qrvey_domain>/widgets-launcher/app.js"></script>

Configuration Object

ParameterDescriptionRequiredqvToken Support
domainString. Base URL of the Qrvey instance.Required if apiKey is not provided.No
qvTokenString. Encrypted token used for secure authentication.Required if apiKey is not provided.No
apiKeyString. Your organization’s unique API key required to access the Qrvey platform.Required if qvToken is not provided.No
userIdString. ID of the Qrvey User that owns the application being embedded.RequiredYes
appIdString. ID of the Qrvey application that contains the asset you want to embed.RequiredYes
workflowIdString. ID of a single flow. If configured, the widget will open that flow. If omitted, the widget will display the "browse all workflows" page.OptionalYes
timezoneObject. Overrides the time zone setting in the Qrvey Admin Center. See The Timezone Object for details.OptionalYes
orgIdString. User organization identifier, which can be any string value.OptionalOnly
clientIdString. A unique identifier of the tenant end user. Enables the use of the End User Personalization and Download Manager features.OptionalOnly

In the Automation widget, the clientId links flows to the end user who created them, allowing the export of personalized dashboards.

Note: Passing clientId in a widget activates a "Show Personalized Dashboards" checkbox in the attachment modal of the Send Email action inside a Flow. This checkbox must be checked for the feature to apply.

Timezone

For more information, see Configuring Time Zone Settings.

ParameterDescriptionRequired
offsetString. Time to offset by. Pattern: {"HH:MM"}. Example: { "offset": "-1:00" }.Optional