Creating workflows
You can either create workflows from scratch or install them from Nexthink Library to accelerate adoption. Customize Nexthink-library workflows using the workflow designer.
To set up new workflows from scratch, follow these steps:
Design workflow logic
From the workflow designer, build the workflow structure using the visual interface and canvas.
In the Toolbox tab on the right-side panel, drag and drop the building blocks onto the workflow canvas, according to the required structure and logic:
Add Thinklets to execute available Nexthink actions or integrate with 3rd party systems via APIs.
Add Flow controls to drive workflow progression and decision logic based on values collected by the workflow or Nexthink data.
Add Connectors to use pre-configured integrations to third-party APIs.
Position elements freely on the canvas to organize them as needed. Use the Auto-layout button to automatically arrange components in a clean, consistent structure.

Link and sequence the added workflow components, in the preferred order, using your cursor:
Hover an element on the workflow canvas to reveal its blue circle or anchor.
Left-click and drag from the blue circle to another component to create a connection. See the image above.
Remove existing links between components using the Delete key to establish a new preferred connection, while keeping the overall workflow design.
As a result, you can streamline workflows from the Nexthink Library by swiftly detaching and removing unnecessary workflow conditions.
Define workflow details
From the workflow designer, fill in the Workflow details using the right-side panel:
Name: The workflow name displays on the Manage workflows page and in related NQL queries ran within Nexthink.
NQL ID: The system automatically generates a unique identifier from the workflow Name. Use the NQL ID to query this workflow within Nexthink. Once saved, you cannot edit the NQL ID.
For workflow Triggers and Targets, see the next steps below.

Choose workflow triggers
From the workflow designer, on the Workflow details tab in the right-side panel, select the Trigger mechanisms to define when and how the automation starts running.
Refer to the Triggering workflows documentation to configure the workflow trigger most suited for your use case.

Define where the workflow is available
From the Workflow details tab, you can define where the workflow is available and which operating systems it can target.
Aside from workflow triggers, you can enable Nexthink Spark to run the workflow when handling support issues or requests in real time. That is, if Spark determines the workflow can resolve the issue at hand.
Tick the box to make the workflow Available in Spark. This lists the workflow as a Spark action under the Spark Manage actions page.
You should also grant Spark permission to run the designated workflow. Refer to Enabling Spark permissions for more details.
Under OS, select the operating systems the workflow can be triggered on: Windows, MacOS, or both. This setting is exclusive to Spark, which uses it to identify the appropriate workflow for the device. It does not restrict where the workflow runs.

Add workflow parameters
Workflow parameters are optional inputs you can define when creating a workflow. These parameters allow you to:
Set values at the start of the workflow that remain constant during execution.
Adapt a single workflow design to different scenarios or use cases.
For example, you may use workflow parameters to change target groups, thresholds, or integration settings without modifying the workflow itself.
Refer to the Parameters and dynamic values documentation to learn how to use workflow parameters.

Optionally modify the workflow in NEAL
For advanced scenarios, you can use the NEAL tab (Nexthink Experience Automation Language) in the right-side panel, as the scripting language and underlying code behind the workflow.
This code is automatically generated as you design and construct the workflow logic visually. The workflow visual designer and the NEAL script stay synced, meaning you can safely switch between views.
Refer to the NEAL documentation to learn how to read and script workflows in NEAL.

Validate and save the workflow
At the bottom of the workflow design page, the system warns you when the designed workflow is malfunctioning, assisting you in troubleshooting and configuring it for proper functionality.
Open the Errors side panel to trigger validation and review any issues identified. Invalid steps are highlighted in red on the workflow canvas for easy correction.
Remember to Save your workflow regularly, even if it's incomplete or contains errors (invalid). When saving workflows, keep in mind:
When you modify and save an active/valid workflow, ongoing executions are not canceled. Meaning workflow design edits do not affect executions already in progress.
When you update the workflow's triggering or scheduling settings without modifying its design, it does not affect ongoing executions.

Workflow design use cases
Leverage the workflow visual designer to adapt your smart automations to specific use cases, such as handling expiration scenarios or building user-adaptive pause behaviors.
RELATED TOPICS
Last updated
Was this helpful?






