promptUser

Pause workflow execution to request user input and responses

The promptUser function pauses workflow execution and sends a message to the user requesting input, information, or decisions. The workflow remains paused until the user responds, then continues with the user's response available for subsequent steps.

overview

The promptUser function is a powerful tool for creating interactive workflows that require human input, decisions, or approvals at specific points in the automation process. It enables workflows to pause execution and wait for user responses before continuing.

Function Purpose

Pause workflow execution and request user input, allowing for interactive decision-making and human oversight within automated processes.

When to Use promptUser

Approval Workflows

Request user approval or confirmation before proceeding with actions

  • Expense report approvals
  • Data deletion confirmations
  • Budget authorization requests

Information Gathering

Collect additional details or clarifications from users

  • Missing form field completion
  • Incident detail collection
  • Customer preference updates

Decision Points

Let users choose between different workflow paths or options

  • Priority level assignments
  • Template selections
  • Processing method choices

Key Characteristics

Interactive Communication

Enables two-way communication between automated workflows and users

Workflow Blocking

Completely pauses workflow execution until user provides a response

Contextual Messaging

Can include data from previous steps to provide relevant context

Flexible Responses

Accepts any text input from users for maximum flexibility