How to Scrape Websites in Clay and Use AI to Craft Hyper-Personalized Messages
In this SEO-optimized guide, we are going to explore the step-by-step process of using Clay to personalize outreach to potential leads, utilizing enriched company data and enriched contacts. We will leverage Clay's website scraping and GPT-3 integration for our endeavor.
Step 1: Set Up the Scrape Website Integration
Your first task is to set up the 'Scrape Website' integration in Clay, inputting the URLs of your target companies. When executed, Clay will scrape the content of each webpage, leaving you with a substantial body of text.
Step 2: Deploy the GPT-3 Integration to Personalize Your Hook
To craft personalized messages without spending an enormous amount of time reading through the scraped content, you can use Clay's 'Complete Prompt' integration, powered by GPT-3.
Input a prompt that instructs GPT-3 to craft a hook based on the provided text. You might ask the AI to help fill in a sentence like, "I love that you…" with something specific about the company.
Use the 'Scrape Website' result for the 'text to analyze' input. Run the process and check the output for sentences that can be used as personalized hooks for your outreach.
Step 3: Refine Your GPT-3 Prompt for Conciseness
If your resulting prompts are too long or wordy, you can revise the GPT-3 prompt to request a single, concise sentence. Repeat this process until you get desirable and succinct sentences.
Step 4: Use the AI Formula Generator for Further Personalization
For a more specific approach, you can create a new text column and use the AI Formula Generator instead of GPT-3. In this guide, we're taking into account whether a company uses Hotjar or not, and the amount of funding they've raised.
Depending on the presence of Hotjar, craft two different messages highlighting your cost-effective solution or a platform that can provide actionable results from a small fraction of their funding.
Step 5: Reformat the Funding Amount
Since the funding amount is a number, it can be challenging to include in a readable sentence. Utilize the AI Formula Generator to convert the funding amount into a more readable format, adding necessary characters like commas and a dollar sign.
Step 6: Replace Old Values with Reformatted Values
After successfully reformatting the funding amount, return to the AI Formula Generator and replace the old funding value with the new, reformatted value. Regenerate the text and check for accuracy and coherence.
Step 7: Utilize Your Personalized Merge Field
With all steps complete, you now have a personalized merge field for each company, which can be directly incorporated into your email marketing tools.
As you can see, Clay has turned a simple list of company websites into enriched company data, enriched contacts, and personalized outreach messages that are ready to be integrated into your CRM and email marketing platforms.
It might take some upfront work to create this template, but once done, you can scale it up by adding hundreds or thousands of companies, and Clay will continue generating personalized outreach materials.
If you have any questions or need further assistance, don't hesitate to drop a message in the Clay Slack community. This guide serves as a foundation for you to explore more use cases and develop your own techniques. Give it a try!