Agents
AI Automators as tools for AI
Turn an Automator chain into a tool that an AI agent and the chatbot can call, without writing code.
Marcus Johansson
March 25, 2025 · 1 min read
Have you ever wondered how you can use an AI Automators workflow to run inside an agent in a consistent manner?
Well, now you can. In the AI module 1.1.0 you will be able to set up an Automator workflow and then choose to create a tool for AI to use, which in turn can be used by AI Agents.
In this showcase, we show how you can do it from start to finish.
YouTube's automatic captions, lightly corrected. Click a line to jump to that moment in the video.
0:00
Okay, tools being written in automator uh for the agent. So I will just showcase the end result of setting up everything. So can you tell me what people say about Tiffany's at Rockefeller
0:14
Center? So this will do a Google. So there's a automated chain in the background running a Google places look up into a address field taking that address field uh and
0:26
looking up all the Google reviews and then there's a summary of this and we get a real summary. So this is based on the Google reviews uh in Google maps of uh this Tiffany's
0:39
that is somewhere around Rockefeller center. Um so let's showcase how we did set up this. So you start with automators automator chain settings set up a new automator chain type and
0:55
uh you can just see it here. So it basically starts from the input search place which is a text field that is a required field. So that's where we start adding stuff. This uh looks up this
1:09
place into a address field using the uh Google place a search to address field. So it gets the real address uh and from that it's using the Google uh places extractor. So that's a field
1:24
that can extract many things and what's important here we're extracting the reviews. We're extracting some images and display name as well. I was just wanted to check so that works but they
1:35
are added into reviews that is a multiffield because I think we get 10 reviews and then in the end of the chain there is a review summary of the reviews. Uh and what we can do if we
1:49
know the URL here we we should link it here since this is hidden by default and you have to turn it on. So you can run an automated uh chain here. So if we take this
2:01
uh and this is how you would search basically uh in Google maps right so you could probably find something with that information without having to say New York it understands that what the Rockefeller
2:15
center is in New York and it's the Tiffany's in New York and you can see here it got the right address uh and here is the uh review summary there's images and display names But
2:29
here you have the reviews that that this is based on. So you can try it out there uh to see that the actual automator chain works. And then when you have done that under AI automators there's
2:42
automators tool where you can create a new tool uh where you give it a label you give it a description you find the workflow that you have set up. So if you start searching here it's going to fill
2:55
it out right and then you decide basically which of all these fields are input which are output which should be ignore which uh you can set a default value. So currently we mostly support
3:09
text fields uh integer fields list fields and so on. U but later we should basically be able to support everything.
3:18
So we have the review summary being the output and the input search please being the input.
3:24
Then then we just go ahead under agent settings and create a agent. So we have created a Google review summary agent uh some system prompt and it's using this get Google review summaries. We can
3:38
test the tool with tool explorer. So we once again write Tiffany's uh Rockefeller Center run this function take some time and it will output a value here uh where it write out the value
3:58
right and basically what we're saying here use this tool if it's a place and then uh uh rewrite the review uh we don't need any detail you know force any values or something here and
4:15
then we can of course use the explore here as well to try it. So yeah in Berlin another it's a famous place here in Berlin. So you can see it's using the actual tool first and
4:30
then it's outputting the information right uh and when we have the agent of course we can connect that to the assistant I should probably I wrote very little here
4:47
uh please answer word for word as the agent is answering because it was adding stuff I saw there enable agent action the Google review summary agent and then we can use this then uh
5:04
what does people say about in Berlin and we have a end to end process where we can set up a fairly complex workflow that's being used as a tool by agent by our assistant
5:24
uh without writing a single line of code.