Create a pipeline for Asset Manager and Pixyz using Unity Automation
Learn how to create pipelines to automate asset workflows using Unity Automation with Asset Manager and Pixyz.
Read time 3 minutesLast updated 3 hours ago
You can create pipelines to automate workflows using Asset Manager, Pixyz, and Slack for notifications.
Prerequisites
- Access to Unity Automation with the required feature flags enabled. Contact your administrator or Automation Support if you need help. If the flags are enabled, Automation appears in Products under the Tools section. You can add Automation as a shortcut on the navigation bar.
- Have the Automation Developer role. Contact your Organization Owner to assign you the role.
- An Industry license or Pixyz SDK license to use the Pixyz app.
Create a pipeline
To create a pipeline for Asset Manager and Pixyz using Unity Cloud Automation, follow these steps:1. Set up the pipeline in Unity Automation
- Sign in to your Unity Cloud account.
- On the navigation bar of the Unity Cloud dashboard, select Automation > Pipelines.
- Select Create pipeline. The Pipeline Details tab appears.
- Provide a name, for example, 'Optimize and Convert pipeline'. Add a short description, so your team understands the pipeline's purpose.
2. Add actions to the pipeline
In the dashboard, select Select action. The Select an action from app window opens. Use the following actions to configure your pipeline: Action 1: Download asset- Below Select app, select Unity Asset Manager.
- Below Select action, select Download Dataset.
- Select Add Action. The action appears on the builder.
- Enter all the required Input parameters for the dataset you want to download.
Action 2: Optimize and Convert
- Select the add + button to add another action.
- Below Select app, select Pixyz.
- Below Select action, select Optimize and Convert.
- Select Add action.
- Provide the Input parameters.
- Select the add + button to add another action.
- Below Select app, select Unity Asset Manager.
- Below Select action, select Upload Files.
- Select Add Action.
- Set the Input parameters to upload the processed files back to the same dataset in Asset Manager.
- Select the add + button to add another action.
- Below Select app, select Slack.
- Below Select action, select Send Channel Message or Send Direct Message depending on your requirement.
- Select Add Action.
- Configure the Slack token and specify the target channel or user.
3. Validate dependencies between actions
Before you run the pipeline, verify the following:- The output folder of each action matches the input folder of the next action.
- All required parameters are set, so the pipeline can run without errors.
4. Save and trigger the pipeline
- Select Save.
- On the navigation bar, select Pipelines.
- Select your pipeline. The Parameters window opens.
- Provide all the required information.
- Select Run.
- On the navigation bar, select Jobs to monitor the pipeline’s progress.
Automate the pipeline
To trigger the pipeline automatically, follow these steps:
- On the left navigation bar, select Automations.
- Select Create automation.
- Select Schedule-based automation and select Next.
- Choose your options to configure your schedule.
- Provide all the required parameters for your pipeline.
- Enter the automation name and bot details.
- Select Create automation.
Example use case
Run the pipeline on a Revit file for the Unity Japan office. The pipeline performs these operations:- Optimize and Convert the file to GLB format.
- Upload the transformed file to Asset Manager.
- Notify you in Slack when the process is complete.