Skip to main content
Version: 9.5

Automation Widget

Use the Automation widget 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

Local and scheduled exports created from this widget are associated with the clientId and orgId that control their display in the Download Manager.

ParameterTypeRequiredqvToken SupportDescription
domainstringY (if apiKey is not provided)NBase URL of the Qrvey instance.
qvTokenstringY (if apiKey is not provided)NEncrypted token used for secure authentication.
apiKeystringY (if qvToken is not provided)NYour organization’s unique API key required to access the Qrvey platform.
userIdstringYYID of the Qrvey User that owns the application being embedded.
appIdstringYYID of the Qrvey application that contains the asset you want to embed.
workflowIdstringNYID of a single flow. If configured, the widget opens that flow. If omitted, the widget displays the "browse all workflows" page.
timezoneobjectNYOverrides the time zone setting in the Qrvey Admin Center. For more information, see The Timezone Object.
orgIdstringNYUser organization identifier, which can be any string value. Exports created from the widget are owned by the clientId under the orgId. For more information, see Exports.
clientIdstringNYUnique identifier of the tenant end user. Enables the use of the End User Personalization and Download Manager features.

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.

Exports

Local and scheduled exports created from this widget are associated with the clientId and orgId that control their display in the Download Manager widget.

If clientId and orgId are passed through a JWT to the widget, the same JWT is sent to the export requests and considered when creating the Download Manager records, even if the widget itself does not use these properties.

Timezone

For more information, see Configuring Time Zone Settings.

ParameterTypeDescriptionRequired
offsetstringNTime to offset by. Pattern: {"HH:MM"}. Example: { "offset": "-1:00" }.