--- title: 'Quickstart #3: Basic Process Agent' excerpt: '' deprecated: false hidden: false metadata: title: '' description: '' robots: index next: description: '' --- # Learning Objectives This Quickstart guide will walk you through the steps of creating a Process Agent to **help users navigate submitting purchase requests**. In this guide, you'll get to see a few concepts in action as you learn how to: * Leverage a [Decision Policy](/docs/control-flow) to control branching logic in a Conversational Process. * Use multiple types of [Activities](/docs/activities) in a Conversational Process to handle different tasks. * Design a Plugin that involves more [Slots](/docs/slots) (with simple [Validation Policies](/docs/slots#slot-validation-policy)). # Prerequisites 1. Access to the "Agent Studio" App. 2. Completed [Quickstart #1: Basic Task Agent](/docs/quickstart-basic-task-agent). # What you'll build Today, we will be building a Purchase Request (PR) Submission Process Agent. This Agent will ask the end user details about the particular PR they want to submit, compare the details against historical PRs, and either submit it if it can be labeled as "OpEx" or reject it if it's considered "CapEx". Here is an example of the **end-user experience** we hope to enable: ![](https://files.readme.io/637aa418b723194dd8f85c859df5210a3d4e868514d82a421814df538ec4380c-purple-chat_3.png) In order to build this, here's one way to decompose the process into a **Conversational Process**, consisting of a few _Activities_ (both Action-based and Content-based), a _Decision Policy_, and a few _Slots_ to power the data needed in this process: ![](https://files.readme.io/0c32f7796223116002c5711b2d2e7a2243e66e4b400c40f92078e2b071155526-Screenshot_2025-04-12_at_16.24.19.png) In this guide, you'll work your way through these main phases: 1. Set up **2 (HTTP)[Actions](/docs/actions)**: one to fetch historical PRs, and another to Submit a PR. 2. Build the **Conversational Process**, complete with 4 Slots, 5 different Activities, 1 Decision Policy, as illustrated above. 3. Add the Conversational Process to your AI Agent by launching a Plugin. _Let's get started!_ # Phase 0: Generate a unique Session ID & Set up your Connector > ❗️ Import building notes if you are using the Moveworks Developer Labs environment > > 1. If you are working in a Moveworks lab environment, name anything you save (Plugin, Action, Data Type, etc.) with `_` > 1. For example: `lucasrollo_Submit_PTO_Action` > 2. When launching your Plugin, make sure to only launch to yourself! You can do this by going to Your Plugin > Launch Configuration > Allow Selected Users > the email on your credential card ### You may be able to skip this phase if you've completed another Agent Studio Quickstart guide. _You can skip Phase 0 and move onto Phase 1A if:_ 1. You have already created a `firstname_lastname_moveworks_purple` connector, AND 2. You already have your unique "Session ID" on hand. This section will walk you through how to set up your own connector to the Moveworks Purple API (which powers the Actions used in the Quickstart guides), so no need to repeat this step if you've done it before. In this guide, you'll build a Plugin that will actually fetch from and take action on a store of feature requests that's **set up just for you**. In preparation for this, follow these steps 1. Go to the [Moveworks Purple API Tool](purple-api-tool). 2. Click "Create New Session ID". You should see sample feature requests populate below. 3. Copy your **Session ID** to your own notes. You'll to have this on hand in the following phase when we set up your Actions. Now, you just need to set up a (reusable) connector that will allow you to seamlessly hit the necessary Actions that your Plugin will use. 1. Navigate to the App Picker in the top right corner of Agent Studio. 2. Click on "HTTP Connectors", which will take you to another browser tab. 3. Click "Create" in the top right corner. 4. Fill out the following information for your Connector (be sure to replace "firstname" and "lastname" with your corresponding information). | Field | Value to enter (replace "firstname" & "lastname" with your info) | | :------------------ | :--------------------------------------------------------------- | | **Connection Name** | `firstname_lastname_moveworks_purple` | | **Description** | `Moveworks Purple APIs Connector` | | **Base Url** | `https://marketplace.moveworks.com` | | **Auth Config** | `No Auth` | 5. Click "Save" on the bottom right corner. > πŸ‘ You're now fully ready to start building. On to Phase 1 to set up your Actions! > > Before you proceed, make sure you've copied your **Session ID** somewhere you can access soon. # Phase 1A: Set up your "Get Historical Purchases" Action > ❗️ Import building notes if you are using the Moveworks Developer Labs environment > > 1. If you are working in a Moveworks lab environment, name anything you save (Plugin, Action, Data Type, etc.) with `_` > 1. For example: `lucasrollo_Submit_PTO_Action` > 2. When launching your Plugin, make sure to only launch to yourself! You can do this by going to Your Plugin > Launch Configuration > Allow Selected Users > the email on your credential card Let's first set up an [HTTP Action](/docs/http-actions) that will retrieve historical PRs. This Action doesn't require any dynamic inputs, and will just query an external system for a list of purchase requests. 1. Navigate to the App Picker in the top right corner. Click on "Agent Studio". ![](https://files.readme.io/438f1d36c6c956eb17f6e93d3ca28966a783e67a75a8e1dddcd741594258a4f8-CleanShot_2025-04-14_at_08.48.272x.png) 2. Navigate to a new HTTP Action. ![](https://files.readme.io/f766e3b729ab041efe71fc7f811d7086cab20363a6e32e74738aa10c75965e6f-Screenshot_2025-04-11_at_22.27.04.png) 3. Set the following title and description for your Action (be sure to replace "firstname" and "lastname" with your corresponding information). | Field | Value to enter (replace "firstname" & "lastname" with your info) | | :-------------- | :--------------------------------------------------------------- | | **Title** | `firstname_lastname_get_historical_purchases` | | **Description** | `Fetches a list of historical purchase requests` | 4. Enter the details of your API: 1. Click on the "Import" icon to the right of the "TEST" button. ![](https://files.readme.io/211a66734c7e49958b56459da201f7c13d5db1969a9aa20538baef768b0bd03d-Screenshot_2025-04-11_at_15.39.40.png) 2. Paste the following cURL command: ```Text cURL curl "https://marketplace.moveworks.com/api/purple-suite/erp/purchase-requests/history" ``` 3. Click "Import" (your Action should now be auto-populated with details). 5. Navigate to the "Connector" tab, and select your existing Moveworks Purple Connector (set up in Phase 0). ![](https://files.readme.io/1cb57a734bacebaf642886e3960a0cf0eab133646ab10288e2e85317dffd513d-Screenshot_2025-04-12_at_02.48.16.png) 6. Test your Action: 1. Click on the "TEST" icon (to the right of the endpoint URL definition). 2. Inspect the Console to verify that you receive a successful response: ![](https://files.readme.io/4fc1ade462018ae2d7c21fe1c60dfec6da1964fa17b5901337fbf1f52f5f6bf6-Screenshot_2025-04-12_at_16.56.14.png) 7. Hit "Publish". > πŸ‘ You've just set up 1 out of 2 custom Actions needed for this process! > > This Action will fetch the critical history of past purchase requests (that later you'll compare a user's new request against). Next up: setting up an action to actually submit new purchase requests. # Phase 1B: Set up your "Submit Purchase Request" Action > ❗️ Import building notes if you are using the Moveworks Developer Labs environment > > 1. If you are working in a Moveworks lab environment, name anything you save (Plugin, Action, Data Type, etc.) with `_` > 1. For example: `lucasrollo_Submit_PTO_Action` > 2. When launching your Plugin, make sure to only launch to yourself! You can do this by going to Your Plugin > Launch Configuration > Allow Selected Users > the email on your credential card The next (and final) Action to set up will add a new purchase request object (and will actually update the purchase record database in your personal session!). This Action will require three dynamic inputs: `item_name`, `quantity`, and `justification`. 1. Navigate to a new HTTP Action. 2. Set the following title and description for your Action (be sure to replace "firstname" and "lastname" with your corresponding information). | Field | Value to enter (replace "firstname" & "lastname" with your info) | | :-------------- | :--------------------------------------------------------------- | | **Title** | `firstname_lastname_submit_purchase_request` | | **Description** | `Submits a new purchase request to Procurement` | 3. Enter the details of your API: 1. Click on the import button to the right of the "TEST" button. ![](https://files.readme.io/211a66734c7e49958b56459da201f7c13d5db1969a9aa20538baef768b0bd03d-Screenshot_2025-04-11_at_15.39.40.png) 2. Find the same **Session ID** that you created & copied from Phase 0 β€” you'll use it in the next step. 3. Paste (don't click "Import" yet) the following almost-ready cURL command: ```Text cURL curl -X POST "https://marketplace.moveworks.com/api/purple-suite/erp/purchase-requests" \ -H "Content-Type: application/json" \ -d '{ "sessionId": "YOUR_SESSION_ID", "purchase_request": { "item_name": "{{item_name}}", "quantity": "{{quantity}}", "business_justification": "{{justification}}", "amount": 1200.00 } }' ``` 4. Replace `YOUR_SESSION_ID` (_scroll all the way to the right to find it at the end of the URL_) in the pasted command with your actual Session ID. 5. Click "Import" (your Action should now be auto-populated with details). 4. Navigate to the "Connector" tab, and select your existing Moveworks Purple Connector (set up in Phase 0). ![](https://files.readme.io/1cb57a734bacebaf642886e3960a0cf0eab133646ab10288e2e85317dffd513d-Screenshot_2025-04-12_at_02.48.16.png) 5. Define 3 formal input arguments to represent the "item name", and "quantity", and "business justification" inputs that this Action requires: 1. Click on the "Input Args" button near the top right corner. 2. Click "Create New" in the "Input Arguments" pop up. 3. Fill out the following details for your `item_name` argument: | Field label | Value to enter/select | | :---------------- | :------------------------------------- | | **Argument Name** | `item_name` | | **Data Type** | _Select "string"_ | | **Example Value** | `pen` | | **Description** | `The name of the item to be purchased` | | **Required** | _Check the box_ | 4. Hit "Save". 5. Click "Create New" again in the "Input Arguments" pop up. 6. Fill out the following details for your `quantity` argument: | Field label | Value to enter/select | | :---------------- | :----------------------------------- | | **Argument Name** | `quantity` | | **Data Type** | _Select "Number"_ | | **Example Value** | `20` | | **Description** | `The quantity of the item in the PR` | | **Required** | _Check the box_ | 7. Hit "Save". 8. Click "Create New" again in the "Input Arguments" pop up. 9. Fill out the following details for your `justification` argument: | Field label | Value to enter/select | | :---------------- | :----------------------------------------------------- | | **Argument Name** | `justification` | | **Data Type** | _Select "string"_ | | **Example Value** | `Needed to refill supply closet` | | **Description** | `The business justification for the item(s) in the PR` | | **Required** | _Check the box_ | 10. Hit "Save" and hit the "X" icon to close this "Input Arguments" pop up. 6. Test your Action: 1. Click on the "TEST" icon (to the right of the endpoint URL definition). 2. Inspect the Console to verify that you receive a successful response: ![](https://files.readme.io/64ca2aecebc890a82029c8a226b960fd1370cd0694a3cf92269fa7cad5f0f178-Screenshot_2025-04-12_at_17.23.09.png) 7. Hit "Publish". > πŸ‘ Nice, your Actions are all set up and ready to go! > > Time to construct your Conversational Process. # Phase 2: Build your Conversational Process > ❗️ Import building notes if you are using the Moveworks Developer Labs environment > > 1. If you are working in a Moveworks lab environment, name anything you save (Plugin, Action, Data Type, etc.) with `_` > 1. For example: `lucasrollo_Submit_PTO_Action` > 2. When launching your Plugin, make sure to only launch to yourself! You can do this by going to Your Plugin > Launch Configuration > Allow Selected Users > the email on your credential card Here's a reminder of the bird's eye view for this Submit Procurement Purchase Request Conversational Process: ![](https://files.readme.io/9eca3d3718c39e3821d22d7397979bb521a98157523910b5171b8f73e2a6768e-Screenshot_2025-04-12_at_16.24.19.png) Let's build it! 1. Navigate to a new Conversational Process (navigate to the library and click "Create"). ![](https://files.readme.io/cf672292d3288b63d4346bbc1485e470afb98eefb4dbb74b1f8a410de724a806-Screenshot_2025-04-11_at_22.25.42.png) 2. Set the following title and description for your Conversational Process (be sure to replace "firstname" and "lastname" with your corresponding information). | Field | Value to enter (replace "firstname" & "lastname" with your info) | | :-------------- | :----------------------------------------------------------------- | | **Title** | `firstname_lastname_support_procurement_purchases_process` | | **Description** | `This will help users submit a Procurement purchase request (PR).` | 3. Add the FOUR **Slots** that this process will need: `item_name`, `quantity`, `business_justification`, and `is_purchase_for_organization_acknowledgement`. πŸ“– _[Learn more about Slots](/docs/slots)_. 1. Click on the "Slots" button near the top right corner of the editor. ![](https://files.readme.io/66a573184d7a15edd6172d4e958100d15df2d029eb27559f307fcace224f741f-Screenshot_2025-04-11_at_22.34.38.png) 2. Click "Create New" in the "Slots" pop up. 3. Fill out the following details for your first `item_name` Slot: | Field label | Value to enter/select | | :------------------------------ | :------------------------------------------------------ | | **Name** | `item_name` | | **Data Type** | _Select "string"_ | | **Slot Description** | `The name of the item that the user wants to purchase.` | | **Slot Validation Policy** | _Leave blank_ | | **Slot Validation Description** | _Leave blank_ | | **Slot Inference Policy** | _Leave as is (Infer slot value if available)_ | 4. Hit "Save" (scroll to the bottom of the popup). 5. Click "Create New" again in the "Slots" pop up to build your second Slot. 6. Fill out the following details for your `business_justification` Slot: | Field label | Value to enter/select | | :------------------------------ | :----------------------------------------------------------------- | | **Name** | `business_justification` | | **Data Type** | _Select "string"_ | | **Slot Description** | `A justification from the user on why this purchase is necessary.` | | **Slot Validation Policy** | _Leave blank_ | | **Slot Validation Description** | _Leave blank_ | | **Slot Inference Policy** | _Leave as is (Infer slot value if available)_ | 7. Hit "Save" (scroll to the bottom of the popup). 8. Click "Create New" again in the "Slots" pop up to build your third Slot. 9. Fill out the following details for your `quantity` Slot: | Field label | Value to enter/select | | :------------------------------ | :---------------------------------------------------------------------------- | | **Name** | `quantity` | | **Data Type** | _Select "number"_ | | **Slot Description** | `The number of units of the item that the user wants to purchase.` | | **Slot Validation Policy** | `value > 0` | | **Slot Validation Description** | `The quantity for the item in the purchase request must be greater than zero` | | **Slot Inference Policy** | _Leave as is (Infer slot value if available)_ | 10. Hit "Save" (scroll to the bottom of the popup). 11. Click "Create New" again in the "Slots" pop up to build your fourth and final Slot. 12. Fill out the following details for your `is_purchase_for_organization_acknowledgement` Slot: | Field label | Value to enter/select | | :------------------------------ | :------------------------------------------------------------------------------------------------------------------------------------- | | **Name** | `is_purchase_for_organization_acknowledgement` | | **Data Type** | _Select "boolean"_ | | **Slot Description** | `An explicit acknowledgement from the user that this purchase is for the organization and not for personal use.` | | **Slot Validation Policy** | `value == TRUE` | | **Slot Validation Description** | `The user must explicitly acknowledge "yes" to indicate that this purchase is intended for the organization and not for personal use.` | | **Slot Inference Policy** | _Select "Always prompt the user"_ | 13. Hit "Save" (scroll to the bottom of the popup) and hit the "X" icon to close this "Slots" pop up. 4. Build the first **Action Activity** that fetch a list of historical purchase requests that the process will later compare against. πŸ“– _[Learn more about Activities](/docs/activities)._ 1. Click on the "+ Add a block to your process" button in the main section of the editor. 2. Click on "Action Activity". ![](https://files.readme.io/9923f68921ed0d545cac8d400cc96f427e97c3d7b97c77f8c9efd5aeb19e8bd8-Screenshot_2025-04-11_at_22.54.07.png) 3. Fill out the following details for your Action Activity, which simply hooks up the Action you created to this Action Activity:
Field label Value to enter/select
**Action** *Select the`firstname_lastname_get_historical_purchases` Action that you built in Phase 1A *
**Required Slots** _Leave blank (no Slots are needed as input to this Activity)_
**Input mapping** _Leave blank (no inputs to map to)_
**Output Mapping** (".dot_walk_here" box) _Leave blank (output is fine as is)_
**Output Key** `historical_purchases`
**Confirmation Policy** _Leave unchecked_
5. Build the second **Action Activity**, which will utilize a Built-in Action that can generate an output according to a natural language prompt. :book: _[Learn more about the Built-in Generate Text Action](/docs/built-in-actions#generate_text_action)._ 1. Click on the "+" icon below the previous Activity in the main section of the Conversational Process Editor. 2. Click on "Action Activity". 3. Fill out the following details for your Action Activity, which mostly involves constructing a templated prompt to the Action, and mapping the predicted PR classification out of the model's response:
Field label Value to enter/select
**Action** _Select the`mw.generate_text_action` Built-in Action_
**Required Slots** _Select 1 slot:`item_name`_
**Input mapping** (2 fields mapped) `system_prompt: $CONCAT(["'Take the '", data.item_name, "' and compare it against the '", data.historical_purchases.$STRINGIFY_JSON(), "' to determine its Opex or Capex classification. Only output Opex or Capex'"], "") ` `user_input: "' '"`
**Output Mapping** (".dot_walk_here" box) `.openai_chat_completions_response.choices[0].message.content`
**Output Key** `pr_classification`
**Confirmation Policy** _Check the "Require consent from the user" box_
6. Build your first **Decision Policy**, which will execute after the already configured 2 Activity blocks. This policy will allow the Process to branch its execution depending on the `pr_classification` returned by the generate text Action Activity. :book: _[Learn more about Decision Policies](/docs/control-flow)._ 1. Click on the "+" square icon below the second generate text Activity in the main section of the Conversational Process Editor. 2. Click on "Decision Policy". (No need to input anything in the panel that appears on the right). ![](https://files.readme.io/bf9dab05124baa8593de3230dfe9d7ff2110945f6dd8d05dc1d2b4dc37cb9b7c-Screenshot_2025-04-12_at_18.31.00.png) 3. Increment the number of Cases by clicking on the "+" button to the right of the words "1 case". ![](https://files.readme.io/bc0023b28981318b05ea335ac03acbba9209a9daabf646aaaed8be8ee94bb452-Screenshot_2025-04-12_at_18.32.32.png) 4. Click on the _first_ Case entry under the Decision Policy and enter the below DSL rule in the panel that appears on the right: ![](https://files.readme.io/f4ea9279552fe304dfa0f0dbd31d0be2ad1e8cb342adcea5d2b196799f2f3708-Screenshot_2025-04-12_at_18.35.31.png) ```Text DSL data.pr_classification.$LOWERCASE() == "opex" ``` 5. Click on the _second_ Case entry under the Decision Policy and enter the below DSL rule in the panel that appears on the right: ![](https://files.readme.io/d5c539a7ff47cd8595735e70c743975df554da62e5f7162f7a2df3ccf08168e2-Screenshot_2025-04-12_at_18.38.57.png) ``` data.pr_classification.$LOWERCASE() == "capex" ``` 7. Create the Action Activity that will execute under the _first_ Decision Policy Case (`pr_classification` is `opex`). 1. Click on the "+" icon below the _first_ Case entry under the Decision Policy. ![](https://files.readme.io/3bcd2ff69cd038d21f86d26af855592e895efc9537ee87245fd97be2ec220376-Screenshot_2025-04-12_at_18.41.40.png) 2. Select "Action Activity". 3. Fill out the following details for your Action Activity, which will connect your slots to the input(s) of the HTTP Action (and mapping the result of the Action back to the Conversational Process).
Field label Value to enter/select
**Action** *Select the`firstname_lastname_submit_purchase_request` Action that you built in Phase 1B *
**Required Slots** _Select all 4 Slots:`item_name`, `quantity`, `business_justification`, and `is_purchase_for_organization_acknowledgement`_
**Input mapping** (3 fields mapped) `item_name: data.item_name` `justification: data.business_justification` `quantity: data.quantity`
**Output Mapping** (".dot_walk_here" box) _Leave blank (output is fine as is)_
**Output Key** `submitted_pr_result`
**Confirmation Policy** _Check the "Require consent from the user" box_
1. Note that even though `is_purchase_for_organization_acknowledgement` is not technically needed to invoke the submit pr action, marking it as a required Slot for this Activity ensures that the AI Agent will ensure it fills the Slot before executing this Activity. 8. Create the Content Activity that will execute under the _second_ Decision Policy Case (`pr_classification` is `capex`). 1. Click on the "+" icon below the _second_ Case entry under the Decision Policy. 2. Select "Content Activity" this time. ![](https://files.readme.io/d49b0d9da342e99e38b4e09207f808adf307fbee690d3e6a9b5bbd9d14417a9c-Screenshot_2025-04-12_at_18.54.18.png) 3. Keep the "Content Type" set to "Text". 4. Paste the following text content (which will share text instructions with the user on how to submit purchase requests that fall under CapEx). ```text Text Content This request falls under CapEx. Please visit CapEx Submission Portal to submit your request. ``` 9. Create the Content Activity that will execute under the `default` branch (when `pr_classification` somehow is neither `opex` nor `capex`). 1. Click on the "+" icon below the _second_ Case entry under the Decision Policy. 2. Select "Content Activity" again. 3. Keep the "Content Type" set to "Text". 4. Paste the following text content (which will share text instructions with the user on how to submit purchase requests that fall under CapEx). ```text Text Content Unfortunately, this purchase request could not get categorized, so it was not submitted. Please feel free to try submitting another request. ``` 10. Click "Validate". If everything went well so far, the Console (bottom of the editor) will say "Validation successful". 1. πŸ’‘Pro-tip: You can also use the following hotkeys to validate without pressing the button: | On a MacOS machine | On a Windows machine | | :----------------- | :------------------- | | Cmd + Shift + V | Ctrl + Shift + V | 11. Click "Publish", review details, and Click "Publish" once again. > πŸ‘ Congratulations! You've just built the main part of this Plugin: the Conversational Process. > > Way to stick through all the steps! We're ready for the last phase: now you'll launch a **Plugin** β€” this packages the Conversational Process into a tool that your AI Agent can use directly. # Phase 3: Launch a Plugin > ❗️ Import building notes if you are using the Moveworks Developer Labs environment > > 1. If you are working in a Moveworks lab environment, name anything you save (Plugin, Action, Data Type, etc.) with `_` > 1. For example: `lucasrollo_Submit_PTO_Action` > 2. When launching your Plugin, make sure to only launch to yourself! You can do this by going to Your Plugin > Launch Configuration > Allow Selected Users > the email on your credential card It's finally time to add your Conversational Process to a **Plugin**, where you can control the Triggering scenarios of your Plugin and specify which end users are allowed to use your Plugin. 1. Navigate to a new Plugin (navigate to the library and click "Create"). ![](https://files.readme.io/2538849f05fc57c0680d22e384afc549488573cf9bbb9e2445136573a31d527a-Screenshot_2025-04-11_at_22.23.36.png) 2. Set the following title and description for your Plugin (be sure to replace "firstname" and "lastname" with your corresponding information). | Field | Value to enter (replace "firstname" & "lastname" with your info) | | :-------------- | :------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | **Title** | `firstname_lastname_support_procurement_purchases` | | **Description** | `This will help users submit a Procurement purchase request (PR). This first compares the name of the PR that the user wants to submit against a list of historical PRs to determine whether the request is classified as "OpEx" or "CapEx". Depending on the classification, it will either submit the PR directly for the user or give the user more information on how to proceed.` | 3. Define a Conversational Trigger. πŸ“– _[Learn more about Natural Language Triggers](/docs/natural-language-triggers)._ 1. Click on "Define a trigger". 2. In the panel that appears on the right, either: 1. Approve (click "Trigger") 5 of the auto-generated suggested positive examples, or 2. Add the following recommended utterances: | Utterances to add | | :----------------------------------------- | | `submit purchase request` | | `how can i submit a PR to procurement?` | | `I need to order 100 pens for the office ` | | `I need to submit a PR for a laptop` | | `Can I submit a purchase order?` | 4. Choose your Conversational Process (the one you built in Phase 2). 1. Click on "Set a process". 2. In the panel that appears on the right, search for and select the Conversational Process that you built in Phase 2 (should be named `firstname_lastname_support_procurement_purchases_process`) 5. Define your Launch Configuration. 1. Navigate to the "Launch Configuration" tab. ![](https://files.readme.io/d4019c54aae64f4d69e70c8f759774bb183bfa5cf1d821981394731cfab4f6ca-Screenshot_2025-04-12_at_00.05.14.png) 2. In the Input field under "Allow selected users", enter your email (or multiple emails using commas to separate the email addresses). ![](https://files.readme.io/8bf3be36c9cca23420ce9b386d1e9bf3ec64573f5cb43d0504844ad4e5b7a015-Screenshot_2025-04-12_at_00.07.06.png) 6. Click "Publish" to launch your Plugin. > πŸ‘ Woohoo! You've finished building your Plugin β€” time to try it out! > > Use one of your triggering examples (e.g. "_submit purchase request_") to access the Plugin in conversation. Try refreshing your submitted purchase requests tab in your [Moveworks Purple API](https://app.superblocks.com/applications/a23f55f2-4149-4c18-ac98-9dec93c15ff8) session to see the updates take effect in real time! # Reflecting on this Plugin The Plugin you just built contains a plethora of Agent Studio concepts, from different Activity types to Decision Policies. There's a lot it had to take care of as a Process Agent: * **Retrieve historical purchases** from an external source. * **Perform classification on the fly** to figure out how to categorize the user's intended purchase. * **Make an informed decision** on the best way to support the request, depending on the predicted classification. * **Collect critical information** that's needed for submitting a purchase request. * **Executes for the right users at the right moments** via Triggering and Launch configurations you've set up. Congratulations on building this powerful Process Agent β€” it's now ready to help support users with their procurement purchase needs!