Typefully

Enhancing Outbound with AI Agents on Clay

Avatar

Share

Β β€’Β 

2 years ago

Β β€’Β 

View on X

Connect Clay, the ultimate outbound tool, with AI Agents that can answer anything from websites. I've gone down the rabbit hole so you don't have to. Here's a how-to-guide on powering up your outbound on #Clay with custom #AIAgents. πŸ€–
A bit of context first. What's the value of an agent on outbound? ChatGPT assumes if it lacks info, but agents deep dive for answers. They'll scrape and research thoroughly until they have a good answer.
Example. You're selling AI services and want to check if a company is already using AI. If you ask chatgpt: "check this website and tell me their AI use-cases" - it'll flop. An AI agent is better equiped to answer this.
#Clay Agent 🎩 is one of them - give it a website & instructions, and it'll answer your questions. It'll power up your outbound for maximum customization. Setting it up is quite easy. 1. Connect OpenAI api token 2. Provide instructions
It's problem with it? Reliability. It takes a few tests to get it to make accurate results. Don't take it from me - take it from Clay's top expert @xaviercaffrey13 If you don't mind taking that risk - that's it for all folks πŸ‘‹
But if you do care about this... I've found an alternative. πŸ’‘ What if we connect Clay to a different agent? Is it possible? - Yes. It is 😎 I dived into the rabbit whole and will skip you the learn curve. I'll show you how I connected Clay to an AI Agent on Relevance.
Why did I do it? 1. I'm relatively fresh to Clay - so this was a learning exercise. 2. Wanted to test out Clay's possibilities to integrate to external software. 3. Wanted to experiment with Agents once again πŸ˜„
The use-case was to have an agent research and scrape though a website to find use-cases of AI for that company, then present the findings as: - "I really like how you're using AI for [use-case]."
1. Pick an AI agent provider I've done my dose of experiments with @RelevanceAI_ and was confident this could be possible with them. Plus they have pre-build templates making it easy to get started.
2. Build the agent's base. This is what it should have. - Tools - Instructions 🎁 You can get a copy of my agent here - so you can follow along. app.relevanceai.com/agents/bcbe5a/854ad7917756-41f5-a31e-d8b637b69ef3/1cc9e533-891f-4468-b5c0-b4fe48ee770f/clone
3. Test the agent & refine Make sure it's getting the output you want.
4. Now - let's get the API key information from Relevance. This will get a little bit tecnical - but don't worry (nothing GPT can't guide us though).
5. Now go into Clay You should have a column with company websites for this example. Next steps will feel tecnical - but beleive me, nothing a bit of ChatGPT can't solve quickly.
We'll be setting up 2 API calls from here. 1. A column with an HTTPS POST api call to activate the agent and send it the custom information we want it to enrich. In this case the company domain. 2. A column with GET call to get the response from the agent back into Clay.
I'm not the most saavy - so ChatGPT helped out on this stepπŸ˜… What I did was: 1. Provide ChatGPT the API documentation from relevance relevanceai.com/docs/agent/agent-api 2. Give the API keys to Relevance 3. Ask it to guide me step by step on what to input into Clay's API connector.
And it worked like magic. It told me exactly what to input into Clay and worked on the first try. Now, once you've ran both API's succesfully (getting "200" as result), you'll be able to extract the response from the GET Api.
And that's it! πŸͺ„ Last things to consider: β†’ If Clay Agent gets fixed - that's a 10x easier way to do it🀞 β†’ Even though Relevance is more reliable - it's also a more expensive. Test credits will run out fast. Yet Overall, not too expensive for this type of enrichment.
This thread serves as a tutorial for β†’ How to connect an API to clay β†’ How Clay agent works and it's limitation β†’ How to connect an alternative agent to Clay β†’ And the possibilities it can open up for outbound
Unsure if somebody will read this - so drop a πŸ‘‹ if this was usefull. Follow me at @anomadbuilder for more automation content. Did you see my recent post? twitter.com/anomadbuilder/status/1765912994058539193
Avatar

Ivan Escobar | GTM Automation Engineer

@anomadbuilder

Senior GTM Engineer @Sympower. Consulting VC's, executives and sales teams on Web Automation & AI. Ex Bardeen, Ondeck 5+ years scaling & buiding w/no-code NomadπŸ“Colombia