Automation
The Automation widget enables 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
| Parameter | Description | Required |
|---|---|---|
| qvToken | String, Encrypted token used for secure authentication. | Required if apiKey is not provided. |
| apiKey | String, Your organization’s unique API key required to access the Qrvey platform. | Required, if qvToken is not provided. |
| userId | String, ID of the Qrvey User that owns the application being embedded. | Required |
| appId | String, ID of the Qrvey application that contains the asset you want to embed. | Required |
| workflowId | String, ID of a single flow. If configured, widget will open that flow. If omitted, this widget will display the "browse all workflows" page. | Optional |
| timezone | Object, Overrides the time zone setting in Qrvey Admin Center. Please see The timezone Object for details. | Optional |
Timezone
For more information, see Configuring Time Zone Settings.
| Parameter | Description | Required |
|---|---|---|
offset | string, Time to offset by. Pattern: {"HH:MM" } Example: { "offset": "-1:00" } | Optional |