Get Started
Screenshot of n8n workflow
FREE TEMPLATE
Automate Supabase Social Link Enrichment
7
Views
0
Downloads
38
Nodes
Download Template
Free
Preview Template
Utility Rating
7 / 10
Business Function
Marketing
Automation Orchestrator
n8n
Integrations
Supabase
OpenAI
Trigger Type
Approx setup time ≈ 35 min
Need help setting up this template?
Ask in our free Futurise community
About
Community
Courses
Events
Members
Templates

How to Automate Supabase Social Link Enrichment?

Leon Petrou
FREE TEMPLATE
Automate Supabase Social Link Enrichment
7
Views
0
Downloads
38
Nodes
Download Template
Free
Preview Template
Utility Rating
7 / 10
Business Function
Marketing
Automation Orchestrator
n8n
Integrations
Supabase
OpenAI
Trigger Type
Approximate setup time ≈ 35 minutes
Need help setting up this template?
Ask in our free Futurise community

Description

Find social media profiles for a list of companies without manual research. The workflow reads websites from your database, visits the pages, and captures links to profiles like LinkedIn, Twitter, and Facebook. It fits marketing and sales teams that need clean social handles for account and lead enrichment.

Execution starts with a manual run. A Supabase node pulls company name and website, then an AI crawler uses two tools to fetch page text and all links. An OpenAI model extracts only social profile URLs and returns structured JSON that matches a defined schema. A URL pipeline splits results, removes duplicates, fixes missing protocols, filters invalid links, and aggregates clean outputs. The data is merged with company details and inserted back into a Supabase table. Optional HTML to Markdown conversion helps you review page content when needed.

You need working Supabase tables and an OpenAI API key. Map your name and website fields, review the AI prompt and parser schema, and test with a few domains to confirm results. Expect faster list enrichment, better data quality, and on demand runs whenever your input table updates. Use it for prospect research, partner checks, and profile cleanup across many sites.

Copy link

Tools Required

Video Tutorial

What this workflow does?

  • Pull company names and websites from a Supabase table and write results to a separate output table.
  • Use an OpenAI Chat Model with temperature set to zero to extract social profile links reliably.
  • Invoke two scraping tools to get page text and all URLs from each website for richer signals.
  • Enforce a strict JSON schema so the output includes a clean social_media array with platform and url.
  • Process links with split, remove duplicates, add protocol, filter invalid URLs, and aggregate steps.
  • Merge AI results with company records and insert rows back into the database automatically.
  • Convert HTML to Markdown for quick human review of crawled text when debugging.
  • Run on demand with a manual trigger for controlled, batch processing.

What are the benefits?

  • Reduce manual research from hours to minutes per batch
  • Automate up to 90% of social profile lookups
  • Improve data quality by removing invalid and duplicate links
  • Handle 10 times more domains with the same team size
  • Connect Supabase and OpenAI in one consistent flow

How to set this up?

  1. Import the template into n8n: Create a new workflow in n8n > Click the three dots menu > Select 'Import from File' > Choose the downloaded JSON file.
  2. You'll need accounts with Supabase and OpenAI. See the Tools Required section above for links to create accounts with these services.
  3. In your Supabase project, create an input table (for example companies_input) with at least name and website columns, and an output table (for example companies_output) with fields for company_name, website, and a JSON field for social_media.
  4. Add a few sample rows to the input table so you can test the run with real domains.
  5. In the n8n credentials manager, create Supabase credentials. Then open the Get companies and Insert new row nodes, choose the credential, and verify the correct project URL and key are set.
  6. In the n8n credentials manager, create an OpenAI API Key credential. Double click the OpenAI Chat Model node, select Create new credential, and paste your API key from the OpenAI API page.
  7. Open the Select company name and website node and confirm it passes only the name and website fields. If your column names differ, update the field mapping.
  8. Review the AI prompt and the JSON Parser schema. Make sure the social_media array fields match what you want to store, such as platform and url.
  9. Click Execute workflow to run a test. Watch the Crawl website and Set social media array nodes to confirm the model returns the expected links.
  10. Inspect the URL pipeline nodes. If off domain links appear, adjust Filter out invalid URLs to keep only links from the target domain.
  11. Open your Supabase output table and confirm new rows were inserted with a populated social_media array. If empty, check that Add protocol and Remove duplicates are working as expected.
  12. If some sites block requests, consider adding a proxy as hinted in the tool notes, and rerun a small batch to validate improvements.

Need help or want to customize this?

Similar Templates

n8n
Marketing
Streamline OpenAI and Supabase Prompt Testing
Run fair split tests on your chat assistant prompts. Each chat session is assigned to either a baseline prompt or an alternative prompt and stays on that path for the whole conversation. This helps product and marketing teams compare tone, instructions, and style with clean data. A chat message triggers the flow. A Set node stores both prompt versions. Supabase checks a table called split_test_sessions for the session id. If the session is new, it gets a random assignment. Another Set node picks the correct prompt for that session. The AI Agent then answers with the OpenAI Chat Model and saves conversation history in Postgres so the bot remembers context. This design keeps each session stable, which makes results easier to measure. To set it up, connect Supabase, OpenAI, and your Postgres database. Update the baseline and alternative prompts in the Define Path Values node, activate the workflow, and test in the n8n chat. Expect faster experiments, less manual work, and clearer insight into which prompt leads to better results like higher engagement or better answer quality.
4 views
view
n8n
Marketing
Automate Supabase Social Profile Enrichment
Need social links for outreach without manual research? This build scans company websites, finds real social media profiles, and writes clean results into your Supabase tables. It suits marketing and sales teams that want fast lead enrichment without copying links by hand. The run starts by loading company names and websites from a Supabase input table. An AI crawler powered by OpenAI checks each site using two helper tools that read page text and collect links. A structured parser returns a social media array in a steady JSON format. A link flow removes empty values, fixes missing protocols, drops duplicates, validates URLs, and aggregates the final list. Page text can also be converted to Markdown to help the model decide if a link is relevant. The data is then merged with the original company fields and saved to a Supabase output table. Add your Supabase and OpenAI credentials, confirm the table names, and test on a few records. Many teams cut research time from 20 minutes per company to about 2 minutes while keeping data consistent. Use it for lead enrichment, social profile tracking, and keeping CRM fields complete with minimal effort.
9 views
view
n8n
Marketing
Sync WordPress and Supabase AI Chat
Make your website content easy to chat with. The flow scans WordPress posts and pages, builds a vector index in Supabase, and serves answers through an AI chat. It suits marketing teams and content owners who want quick, trusted replies pulled from their own articles. On the first run, tables are created and all content is loaded. A schedule checks WordPress for changes and only pulls items updated since the last run. Published and unprotected pages are converted from HTML to clean text, split into small chunks, and turned into embeddings with OpenAI. The data is stored in Supabase, and smart logic upserts records so edits replace old vectors. When a chat message arrives, related documents are fetched from Supabase and passed with metadata to a chat model. Postgres stores the chat memory so replies keep context, and the answer is returned by webhook. Set credentials for WordPress, Supabase, PostgreSQL, and OpenAI. Adjust the schedule to match how often you publish. Expect strong time savings on content indexing and fewer support questions, while visitors get clear answers based on your site. Use it for content search, pre sales FAQs, and training pages that need a helpful chat layer.
0 views
view
See More Templates

Credits: YouTube video by workfloows. YouTube channel - these templates were sourced from publicly available materials across the web, including n8n’s official website, YouTube and public GitHub repositories. We have consolidated and categorized them for easy search and filtering, and supplemented them with links to integrations, step-by-step setup instructions, and personalized support in the Futurise community. Content in this library is provided for education, evaluation and internal use. Users are responsible for checking and complying with the license terms with the author of the templates before commercial use or redistribution. If you are the author and would like this template removed from the template library, email us at info@futurise.com and we will remove it promptly.