Campaign thinklet

The Campaign Thinklet allows workflows to execute a Nexthink Campaign as part of an automation sequence. It supports parameterized campaigns, enabling you to tailor questions and messages either during workflow design or dynamically at runtime based on the workflow context.

Once triggered, the Campaign Thinklet waits for the user’s response before the workflow continues. The workflow can then:

  • Use responses from single-answer questions as inputs for conditions or other thinklets.

  • Handle expired scenarios (no user response within the configured timeout) through a fallback action path.

If the Expired exit of the Campaign remains unconnected, the workflow will stop processing when expiration occurs.

The Campaign Thinklet can send communications to the employee of the targeted device or to an alternate user — for example, when another person must be asked or informed during an approval process.

  • Name: Enter a unique name for the campaigns thinklet.

  • ID: The system generates the ID automatically based on the name.

  • Description (optional): Describe the purpose of the thinklet and what it does. This information is useful for other users of the workflow who may not be familiar with it.

  • Timeout: Set the timeout in minutes or hours. This dictates how long the workflow waits for a response from the campaign before timing out. When the timeout limit is reached, the Expiration event occurs and the workflow will continue only if Expired path has been defined.

    • To handle postpone status of a campaign that you want the employee to see it again, set the Timeout value to over 6 hours.

    • Increase the timeout of Campaigns significantly if a lot of expiration happen when targeting users in different timezones.

  • Select campaign: Identify the campaign that the thinklet will send. The following criteria are required for a campaign to appear in this list:

    • The campaign trigger is set to Workflow.

    • The campaign contains only single answer questions.

    • The campaign is published.

  • Select user: Choose the recipient of the campaign from the following options:

    • Targeted user: Select the primary user of the device targeted in the workflow.

    • Custom value: Select a specific user by entering a UPN or username keywords to search for a relevant user.

    • Workflow parameter: Select a parameter from the existing list that contains user SID or UPN.

    • Thinklet output : Select an output from another thinklet that returns user SID or UPN, such as an employee's manager in a workflow that requires manager approval.

  • Parameters: Configure the parameters for the campaign. This option only appears if the selected campaign is configured to accept parameters.

    • You can select manual custom fieldsuser or device attributes—as parameter values in thinklets to use environment-specific data as input.

Last updated

Was this helpful?