Activities

❗️

This is only applicable to the new Agent Studio > Plugin Workspace

What is an activity?

A type of process block that represents an "activity" in a business process. This is typically either taking action in a system or surfacing information.

Activities & Control Flow blocks work hand-in-hand to create conversation plugins that conform to your business processes.

Types of activities

Action Activities

Action Activities can call HTTP, Script, Built-in, or Compound Actions to fetch or update data in your business systems.

Configuration

  • Select an Action: Choose from a dropdown of available actions (HTTP, Script, Built-in, or Compound) configured in your Agent Studio instance.
    • Important: Compound Actions are asynchronous and should be used cautiously mid-process, as they return progress updates to the user instead of data to the plugin.
  • Required Slots: Specify which slots are needed to execute the action. You can select existing slots or create new ones. This informs the AI assistant when to prompt users for input.
  • Input Mapping: Use Moveworks Data Mappers to map slots or outputs from previous activities to the action’s inputs.
  • Output Mapping: Defines the output object of the activity. By default, it captures all data returned by the action. You can "dot walk" (e.g., response.field) to limit the output or use the advanced Moveworks Data Mappers editor for custom output structures.
    • Syntax: In the advanced editor, refer to the action’s payload as response. Note that unmapped response data is excluded from the output.
    • Last Activity: The mapper set up will be presented to the user if this is the last action activity of the process.
❗️

When an action activity is calling a Compound Action and it is async (Execution Behavior - "Wait for this action to fully complete before resuming the rest of this Conversational Process" is not toggled) the output mapper should not be manipulated as the output will not be available for Data Mapping until the Compound Action has fully completed running. This will lead to messaging errors in conversation with your AI Assistant if you attempt to map the data.

  • Confirmation Policy: See Below
  • Execution Behavior (Compound Actions Only):
    • Wait for Completion (Checked): The process pauses until the Compound Action finishes, allowing its output to be used downstream. Recommended for most cases.
    • Fire and Forget (Unchecked): The process continues without waiting for the Compound Action to complete, suitable for notifications where no response is expected.

Activity Confirmation Policies

When enabled, this policy ensures the AI assistant:

  1. Presents all collected slots for the activity.
  2. Requests user consent to proceed.
  3. Allows users to edit slot values before execution.

This guarantees users can review and confirm actions, regardless of their input.

Content Activities

Content Activities display information to users rather than executing actions. They support three content types:

  • Text/Markdown - Formatted messages with dynamic data references
  • Knowledge Articles - Articles from your connected knowledge bases (ServiceNow, Confluence, SharePoint, etc.)
  • Forms - Catalog items and request forms from your ITSM systems

Content Activities are useful when you want to:

  • Present a knowledge article instead of executing an action (e.g., when a user lacks permissions)
  • Surface a form for ordering or requesting something
  • Provide contextual guidance mid-workflow

Knowledge articles and forms are access-controlled, respecting permissions from your source systems.

For detailed documentation on content types, use cases, data referencing, and access controls, see the Content Activities Guide.

Troubleshooting Common Issues

  • Compound Action Misuse: If a Compound Action is used mid-process, it may not return data. Move it to the end of the process or use a synchronous action type.
  • Output Mapper Errors: Verify the response path in the Output Mapper. If data is missing, check the action’s response structure or include all necessary fields.