Team Screaming Seagulls

Hey, GTM Engineers!

What’s the secret to build great AI prompts for Claygent (or in general)?

Let me take you behind the scenes of how I do it for customers at Clay. This is a process I’ve developed that’s been consistently produces great outputs.

But first, did you catch wind of the GTM Engineer content competition?

The short of it is my team ‘Screaming Seagulls’ will be dropping template, prompts, and our best Clay tips. Here’s who to follow on Screaming Seagulls so you don’t miss the action:

Back to this week’s post. These are these steps and general process I take when building custom Claygents for customers:

  1. Objective

  2. Possibilities

  3. What are the steps to get there?

  4. Considerations

  5. Build prompt

  6. Test prompt & spot check

  7. Iterate with your AI side kick

  8. Repeat step 6

  9. Organize

  10. Add to Prompt Library + Create Template

  11. Other Tips for Fine Tuning

This may seem like a lot, but it can be pretty fun and you’ll almost always learn things along the way.

1. Objective

What do I ultimately want to achieve with the prompt I’m developing?

In the context of PLG companies - I want to figure out all ways I can derive or infer insights from an email address to use for sales and marketing purposes.

2. Possibilities

Today I validate emails in Clay to figure out if they can be used, if they are personal, or work emails, and then use the email in a waterfall enrichment to find a LinkedIn profile. But, am I missing anything?

Turns out I was missing a lot. This is what I asked ChatGPT (I also use Perplexity for similar questions):

You're a technologist who specializes in figuring out all of the different insights you can infer from data. For example, if you have a service account email (like [email protected]) then you can figure out the likely team that is using your service. 

What are all of the insights that can be inferred from just looking at an email address and validating it?

This is what I got back:

Useful Outcomes

Most people just classify personal emails vs. work emails.

But now that we have additional insights, we can build out a more powerful workflow/prompt.

This is how I’ll use the insights:

  • Classify the email into one of the following

    • Personal Email

    • Work Email

    • Service Email

    • Cannot Determine

  • Identify service accounts to:

    • Reduces noise for sales reps

    • Tells us what department is using the service

    • Now that we have the department, we can source people in that department

    • The use of a service email tells us this could be more significant usage compared to an individual user

  • Extract the name + company (if it’s a work email)

    • This gives more additional inputs to improve coverage and accuracy of finding LinkedIn URLs with Claygent

      • The use of this approach in conjunction with waterfall for finding the LinkedIN URL increases coverage

3. Steps

Now lets figure out what steps the agent needs to take to get us to the above.

There’s 2 ways I do this:

  • Use Clay’s Meta Prompter to get a baseline prompt

  • Ask Perplexity or ChatGPT what the steps would be so we can include in the prompt

4. Considerations

This prompt likely doesn’t need any. However, sometimes I ask AI separately what constraints, guidelines, or simply “what else am I missing?”. This adds another layer of learning and works great for building more complex chain-of-thought prompts like the previous one I shared to find GTM Ideal Customer Signals.

5. Build Prompt

I do one of 2 things:

  1. Use Clay’s Meta Prompter (see below)

  2. Prompt ChatGPT or Claude

Clay’s Meta Prompter 👇

Clay Meta Prompter

6. Test Prompt & Spot Check

  • Are you getting outputs that make sense?

  • Or, are you getting errors or unexpected outcomes?

  • Do you need to adjust the fields?

  • Are you asking the agent to do too many tasks?

Use ‘Steps’ & ‘Reasoning’ as breadcrumbs

7. Iterate with AI

If I’m not happy with the prompt, I’ll plug it back into ChatGPT and engage in a conversation to improve it.

What else am I missing?

What are 2 other outputs I can add to this? You get the outputs and then you can ask AI to add that to the prompt.

For content, you can experiment with style and tone and ask for variations. Choose the one you like and then have AI come up with a prompt for that specific variation.

8. Organize

Creating a collapsable template helps to organize and simplify your table.

I also like to change the column type to “Select” to make the table and outputs more aesthetic:

Plus, you can get some nice statistics:

10. Save to Prompt Library + Template

Now you have reusable components that you can drop into other tables and workbooks as you build.

How to Save an Claygent Template

11. Other Tips for Fine Tuning

Use the right model based on complexity & use case

Define desired structure

Customize Claygent

Define Creativity Level + Upload Documents for More Context

Add Temperature + Documentation

Check out the Template Library

Claygent Prompt Library

Reply

Avatar

or to participate

Keep Reading