This guide shows you how to automatically generate and assign descriptions to assets as soon as they’re added to your library or projects. If you’re looking for a general introduction to automations, check out this article. |
Start a new automation
In your project or library backend, click on Automation at the top of the screen. Then, click the New automation button at the bottom to get started.
Name your automation.
Configure your trigger
You want the automation to run when a new asset is uploaded to your projects or library. To do that, add a new Trigger and select Asset created from the list.
Add trigger conditions
You can refine when your automation is triggered by setting up conditions based on three main fields:
Description
Extension
Title
Each condition can be customized with options like: Is, Is not, Contains, Does not contain, Starts with, Ends with, Is empty, and Is not empty.
In this example, let’s say you want the automation to apply only if the asset description is empty and the asset title contains the name of your brand, in this case, NoBrand.
To do that, you need to apply two conditions:
Asset description is empty
And, the title contains NoBrand
This way, the automation will only run for assets that match both criteria.
Set up actions
Now it’s time to configure what happens once the trigger and conditions are met. Click the Add action button and choose the appropriate action from the dropdown menu.
In this case, you want OpenAI to analyze the image as the first step in the workflow.
Configure the action input
Next, set up the input for the OpenAI action. Use the Asset ID from the previous trigger as the input—this tells OpenAI which asset to analyze.
Then, add your prompt. Since you want OpenAI to generate a description, you can use a prompt like “Provide a good asset description for this image”. For this use case, it is the best prompt.
This will guide the AI to return a descriptive summary of the uploaded asset.
Once you receive the response from OpenAI, the next step is to apply it to the asset. To do that, add another Action from the dropdown menu—this time, choose Set asset description.
Use the output from the previous OpenAI action as the value.
Now it’s time to set the action input for our newly created action.
For the Asset ID, select the value coming from the trigger (the asset that was just created).
For the Description, use the output from the OpenAI action you set up earlier.
This ensures that the right asset gets updated with the AI-generated description.
Let’s activate the automation.
The automation in action
To see your automation in action, upload an image with an empty description to your project with a title that includes "NoBrand".
If everything is set up correctly, the automation will trigger, OpenAI will generate a description, and it will be automatically added to your asset.
And there it is, your automatically generated description!
With just a few steps, you’ve built a powerful automation that saves time and keeps your assets organized. This is just one example; feel free to build on it and explore more ways to streamline your workflow with automation.
Thanks for reading our help article; to get more information, check our automations general help article.