Skip to main content

How Can I Use Agents in Feeds?

Christopher John avatar
Written by Christopher John
Updated this week

Introduction

A natural extension to Formulas in Feeds, you can now use both pre-built and custom-built agents within feeds. This unlocks even more power and scalability, with agents able to utilise both cell references and fixed/uploaded references.


Accessing Agents in Feeds

As with Formulas in Feeds, pressing '=' reveals a menu, which now includes 'UseAgent' as an option:

Selecting UseAgent will open a familiar formula building box with space for your Prompt front and centre. Beneath that you will need to select the Agent that you want to us. The dropdown will reveal all agents available to you based on your workspace and both the Agents and AI Models it has access to.

Selecting an agent, in this case the Image Generation Agent, beneath the Prompt box I can choose the model(s) I want to use and optionally attach a reference which may be a simple cell reference, or an uploaded file or a file from your Asset Library.

Once your prompt and any selections are made or references are attached, you can press 'Insert Formula' and generation will begin in your cell. As usual, the formula can be dragged down to cells below it, with any referenced cells moving dynamically with it, unless locked down.


Agents in Feeds: An Example

In the following worked example I am using a combination of regular generation formulas and agents. I have created the following column headers:

  • Cocktail Name

  • Keywords

  • Bar Style

  • Bar Reference Image

  • Recipe

  • Cocktail Image

  • Blog Copy

I am defining manually:

  • Cocktail Name

  • Keywords (Style and ambience keywords for a bar I want associated with that drink)

In Column C (Bar Style) I have used the Text Generation tool with the following prompt:

"Generate a short description of the style of bar where A2 would typically be consumed, noting the keywords in B2. Focus specifically on overall stylistic and visual elements - location, visual description of the bar, the seating, colours, any decoration or artwork. Do not mention sounds or people. Do not include any drinks or cocktails in the image"

Column D (Bar Reference Image) uses the following prompt drawing on the description generated in Column C:

"Generate an image of the interior of bar style C2. No people in the image. No drinks in the image"

Now we have filled a number of columns of our sheet and below are example outputs for the first row - Old Fashioned - for both Bar Style and Bar Reference Image:

Bar Style (Old Fashioned):

'In an intimate, elegant setting, polished mahogany counters and stools invite you to settle in and relax. The warm ambient lighting casts a gentle glow across the room, highlighting the sleek black Alessi fruit bowl filled with fresh oranges. Cocktail napkins are neatly arranged, ready to accompany your experience.'

Bar Reference Image:


Bringing In Agents

For the final three columns I used Agents to help me generate copy and assets. Starting with Column E (Recipe), in preparation for incorporation into a blog post I used the Webpage Copy Agent and a very simple prompt which generated effective recipes for the cocktails listed in column A.

Next, I wanted to generate an image of each cocktail in a bar context similar to that of my Bar Reference Image (Column D).

I used the Image Generation Agent with the following prompt, referencing the bar images I generated in column D by entering 'D2' in the the Attachment box

For my Old Fashioned cocktail this produced the following result:

Finally, I wanted to prepare a blog post for each cocktail, incorporating three things:

  • A brief history of the cocktail

  • The cocktail recipe I had generated

  • Suggestions for a few snacks that would go well with the cocktail

I used the Blog Copy Agent with the following prompt:

The unformatted output for my Old Fashioned is shown below and beneath that is my now completed table for all the cocktails:

# The Timeless Elegance of the Old Fashioned Cocktail

The Old Fashioned cocktail, one of the most venerated drinks in the cocktail universe, traces back to the early 19th century. Known for its simplicity and robust flavor, it traditionally combines bourbon or rye whiskey, sugar, water, and bitters, garnished with an orange slice or zest and a maraschino cherry. This unembellished libation gained the "Old Fashioned" moniker in the late 1800s to distinguish it from newer, more complex cocktails emerging at the time.

## Recipe for an Old Fashioned Cocktail

### Ingredients:
- 2 ounces Bourbon or Rye Whiskey
- 1 sugar cube or 1 teaspoon granulated sugar (or 1/4 to 3/4 ounce simple syrup)
- 2-3 dashes Angostura bitters
- 1 teaspoon water
- Orange peel, for garnish
- Optional: Maraschino cherry, for garnish
- Ice cubes

### Instructions:
1. **Dissolve the Sugar**: In a mixing glass or rocks glass, combine the sugar cube (or granulated sugar) with the bitters and water. Stir until the sugar is mostly dissolved. If using simple syrup, add it directly with the bitters.
2. **Add Whiskey**: Pour the bourbon or rye whiskey into the glass.
3. **Chill and Dilute**: Fill the mixing glass with ice cubes. Stir the mixture gently for about 30 seconds to a minute, until it is well-chilled and slightly diluted.
4. **Strain**: Place a large ice cube or fresh ice cubes into a rocks glass. Strain the contents of the mixing glass into the rocks glass.
5. **Garnish**: Express the oils from an orange peel over the surface of the drink by squeezing and twisting it. Drop the peel into the glass as a garnish. If desired, add a maraschino cherry.

### Suggested Snack Pairings:
Pair your Old Fashioned with savory snacks like mixed nuts, cheese platters, or smoky bacon-wrapped dates. These snacks complement the deep, rich flavors of the whiskey, enhancing your cocktail experience.

---

**Meta Title:** The Timeless Elegance of the Old Fashioned Cocktail

**Meta Description:** Discover the history and recipe of the Old Fashioned, a cocktail that dates back to the early 19th century. Learn how to make this classic drink and find out the perfect snack pairings.

Let me know what to tighten or expand. I can retune tone, length, or target audience if instructed.


Summary

Using just a small number of manual inputs, we have rapidly been able to generate descriptive styles, visual imagery, recipes, and blog copy for a number of distinct cocktails by using formulas in feeds. Leaning on the power of agents has enabled us to reference, in this case, generated content in cells, as well as generate blog-appropriate copy.

Did this answer your question?