> ## Documentation Index
> Fetch the complete documentation index at: https://docs.blinkops.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Add Script To Assignment Group

Add an existing script to an assignment group. The script will run based on the defined trigger event type.

## Parameters

<div className="integrations-table">
  | Parameter          | Description                                            |
  | ------------------ | ------------------------------------------------------ |
  | Assignment Name    | The name of the new assignment.                        |
  | Script UUID        | The UUID of the script to add to the assignment group. |
  | Smart Group Name   | The name of the smart group.                           |
  | Smart Group UUID   | The UUID of the smart group.                           |
  | Trigger Event Type | The event that the script should be triggered on.      |
</div>

## Workflow Library Example

[Add Script to Assignment Group with Workspace One Uem and Send Results Via Email](https://library.blinkops.com/workflows/add-script-to-assignment-group-with-workspace-one-uem-and-send-results-via-email)

<div className="iframe-wrapper">
  <div className="iframe-media">
    <img src="https://mintcdn.com/blinkops-2/ojHYuDeYX5FWuN8a/img/Icons/play-box.svg?fit=max&auto=format&n=ojHYuDeYX5FWuN8a&q=85&s=b8af968e71438a9499c3223c9bd29fb2" alt="Workflow Library" width="16" height="16" data-path="img/Icons/play-box.svg" />

    Preview this Workflow on desktop
  </div>

  <iframe className="iframe" src="https://library.blinkops.com/workflows/add-script-to-assignment-group-with-workspace-one-uem-and-send-results-via-email/canvas" />
</div>
