Here you can modify the prompt
Configured with Chain LLM, Email Send, Google Sheets, Google Sheets Trigger, and additional nodes. Review the connections and setup before adapting this template.
Node categories in this workflow
- Transform
- Web / API
- Code
- AI & models
- Messaging
- Trigger
- Data store
- Routing
Icons describe general node roles, inferred from node types. Inspect the parameters for the configured action.
Drag to pan; use + and − to zoom. Reconstructed from the exported node positions; nothing runs here. Dashed lines represent non-main connections. Full node names and notes appear below.
How it works
The exported workflow contains the following configured nodes. Their connections are shown above; inspect the JSON for the complete logic, expressions, and external actions.
| Node | Category | Type | Operation |
|---|---|---|---|
| Set your company's variables | Transform | Edit Fields | See node parameters |
| Get linkedin Posts | Web / API | HTTP Request | See node parameters |
| Get twitter ID | Web / API | HTTP Request | See node parameters |
| Get tweets | Web / API | HTTP Request | See node parameters |
| Extract and limit Linkedin | Code | Code | See node parameters |
| Exract and limit X | Code | Code | See node parameters |
| OpenAI Chat Model | AI & models | OpenAI Chat Model | See node parameters |
| Structured Output Parser | Transform | Output Parser Structured | See node parameters |
| Generate Subject and cover letter based on match | AI & models | Chain LLM | See node parameters |
| Send Cover letter and CC me | Messaging | Email Send | See node parameters |
| Google Sheets Trigger | Trigger | Google Sheets Trigger | See node parameters |
| Google Sheets | Data store | Google Sheets | update |
| If | Routing | If | See node parameters |
Setup
- Download the JSON and import it into an isolated n8n instance. Leave the workflow inactive.
- Connect your own credentials through n8n’s credential store. Replace
REPLACE_WITH_*values with your resource identifiers. - Inspect API destinations, Code nodes, database queries, file paths, and outbound actions.
- Run with synthetic data and harmless destinations. Enable triggers only after checking the actual outputs.
Requirements
An n8n instance with the listed node types and compatible versions. Service-connected workflows may require accounts, credentials, or paid APIs.
Credential types declared in the source
googleSheetsOAuth2ApigoogleSheetsTriggerOAuth2ApihttpHeaderAuthopenAiApismtp
Workflow notes
Personalize here
Personalize here
Set:
- your name
- your company name
- your company activity, used to find a match with your leads
- your email, used as the sender
Create a Gooogle sheet with the following columns:
Create a Gooogle sheet with the following columns:
- linkedin_url
- name
- twitter_handler
- done
And put some data in it except in "done" that should remain empty.
Here you can modify the prompt
Here you can modify the prompt
- make it better by adding some examples
- Follow a known framework etc.
Call RapidAPI Twitter API Profile Data
Call RapidAPI Twitter API Profile Data
You have to create an account in RapidAPI and subscribe to Twiiter API. With a free account you will be able to scrape 500 tweets / month. After your subscription you will have to choose as Generic Auth Type: Header Auth and then put as header name: "x-rapidapi-key" and the value given in the RapidAPI interface
Call RapidAPI Fresh Linkedin Profile Data
Call RapidAPI Fresh Linkedin Profile Data
You have to create an account in RapidAPI and subscribe to Fresh LinkedIn Profile Data. With a free account you will be able to scrape 100 profile / month. After your subscription you will have to choose as Generic Auth Type: Header Auth and then put as header name: "x-rapidapi-key" and the value given in the RapidAPI interface
Social Media Analysis and Automated Email Generation
Social Media Analysis and Automated Email Generation
by Thomas Vie user@example.com
Who is this for?
This template is ideal for marketers, lead generation specialists, and business professionals seeking to analyze social media profiles of potential leads and automate personalized email outreach efficiently.
What problem is this workflow solving?
Manually analyzing social media profiles and crafting personalized emails can be time-consuming and prone to errors. This workflow streamlines the process by integrating social media APIs with AI to generate tailored communication, saving time and increasing outreach effectiveness.
What this workflow does:
- Google Sheets Integration: Start with a Google Sheet containing lead information such as LinkedIn URL, Twitter handle, name, and email.
- Social Media Data Extraction: Automatically fetch profile and activity data from Twitter and LinkedIn using RapidAPI integrations.
- AI-Powered Content Generation: Use OpenAI's Chat Model to analyze the extracted data and generate personalized email subject lines and cover letters.
- Automated Email Dispatch: Send the generated email directly to the lead, with a copy sent to yourself for tracking purposes.
- Progress Tracking: Update the Google Sheet to indicate completed actions.
Setup:
- Google Sheets:
- Create a sheet with the columns: LinkedIn URL, name, Twitter handle, email, and a "done" column for tracking.
- Populate the sheet with your leads.
- RapidAPI Accounts:
- Sign up for RapidAPI and subscribe to the Twitter and LinkedIn API plans.
- Configure API authentication keys in the workflow.
- AI Configuration:
- Connect OpenAI Chat Model with your API key for text generation.
- Email Integration:
- Add your email credentials or service (SMTP or third-party service like Gmail) for sending automated emails.
How to customize this workflow to your needs:
- Modify the AI Prompt: Adapt the prompt in the AI node to better align with your tone, style, or specific messaging framework.
- Expand Data Fields: Add additional data fields in Google Sheets if you require further personalization.
- API Limits: Adjust API configurations to fit your usage limits or upgrade to higher tiers for increased data scraping capabilities.
- Personalize Email Templates: Tweak email formats to suit different audiences or use cases.
- Extend Functionality: Integrate additional social media platforms or CRM tools as needed.
By implementing this workflow, you’ll save time on repetitive tasks and create more effective lead generation strategies.
Here you can modify the prompt
Here you can modify the prompt
Purpose and structure
This folder contains the Here you can modify the prompt workflow. Its executable nodes use chainLlm, code, emailSend, googleSheets, googleSheetsTrigger, httpRequest, if, lmChatOpenAi, outputParserStructured, set. The table and connection map below are derived from the JSON, not an inferred guarantee of behavior.
Setup
Import inactive. Configure your own credentials and replace REPLACE_WITH_* values. Review external destinations and Code nodes before running.
Entry points
Google Sheets Trigger
Verification
Sanitized source candidate; not runtime-tested. This overview is generated from node metadata. Read the folder README for the connection map, credential types, and license.
Attribution
https://github.com/Zie619/n8n-workflows/blob/94007c1445d9258a7da116646b79473e7c7c3282/workflows/Code/1664_Code_HTTP_Send_Webhook.json MIT; preserve source notices.