Send personalized job application emails with Telegram, OpenAI, and Gmail
    100%
    Automation
    0(0 reviews)
    9 downloads

    Send personalized job application emails with Telegram, OpenAI, and Gmail

    NM

    Curated by n8n Markets team

    Last updated: March 8, 2026

    # 🔧 Setup Guide - Hiring Bot Workflow [![LinkedIn](https://img.shields.io/badge/LinkedIn-Connect-0A66C2?style=flat-square&logo=linkedin&logoColor=white)](https://www.linkedin.com/in/mosaab-yassir-lafrimi/)[![Telegram](https://img.shields.io/badge/Telegram-@joevenner-26A5E4?style=flat-square&logo=telegram&logoColor=white)](https://t.me/joevenner) ## 📋 Prerequisites Before importing this workflow, make sure you have: - ✅ n8n Instance (cloud or self-hosted) - ✅ Telegram Bot Token (from [@BotFather](https://t.me/botfather)) - ✅ OpenAI API Key (with GPT-4 Vision access) - ✅ Gmail Account (with OAuth setup) - ✅ Google Drive (to store your resume) - ✅ Redis Instance (free tier available at [Redis Cloud](https://redis.com/try-free/)) --- ## 🚀 Step-by-Step Setup ### 1️⃣ Upload Your Resume to OpenAI First, you need to upload your resume to OpenAI's Files API: ```bash # Upload your resume to OpenAI curl https://api.openai.com/v1/files \ -H "Authorization: Bearer YOUR_OPENAI_API_KEY" \ -F purpose="assistants" \ -F file="@/path/to/your/resume.pdf" ``` Important: Save the `file_id` from the response (looks like `file-xxxxxxxxxxxxx`) Alternative: Use OpenAI Playground or Python: ```python from openai import OpenAI client = OpenAI(api_key="YOUR_API_KEY") with open("resume.pdf", "rb") as file: response = client.files.create(file=file, purpose="assistants") print(f"File ID: {response.id}") ``` --- ### 2️⃣ Upload Your Resume to Google Drive 1. Go to [Google Drive](https://drive.google.com) 2. Upload your resume PDF 3. Right-click → "Get link" → Copy the file ID from URL - URL format: `https://drive.google.com/file/d/FILE_ID_HERE/view` - Example ID: `1h79U8IFtI2dp_OBtnyhdGaarWpKb9qq9` --- ### 3️⃣ Create a Telegram Bot 1. Open Telegram and message [@BotFather](https://t.me/botfather) 2. Send `/newbot` 3. Choose a name and username 4. Save the Bot Token (looks like `123456789:ABCdefGHIjklMNOpqrsTUVwxyz`) 5. (Optional) Set bot commands: ``` /start - Start the bot /help - Get help ``` --- ### 4️⃣ Set Up Redis Option A: Redis Cloud (Recommended - Free) 1. Go to [Redis Cloud](https://redis.com/try-free/) 2. Create a free account 3. Create a database 4. Note: Host, Port, Password Option B: Local Redis ```bash # Docker docker run -d -p 6379:6379 redis:latest # Or via package manager sudo apt-get install redis-server ``` --- ### 5️⃣ Import the Workflow to n8n 1. Open n8n 2. Click "+" → "Import from File" 3. Select `Hiring_Bot_Anonymized.json` 4. Workflow will import with placeholder values --- ### 6️⃣ Configure Credentials #### A. Telegram Bot Credentials 1. In n8n, go to Credentials → Create New 2. Select "Telegram API" 3. Enter your Bot Token from Step 3 4. Test & Save #### B. OpenAI API Credentials 1. Go to Credentials → Create New 2. Select "OpenAI API" 3. Enter your OpenAI API Key 4. Test & Save #### C. Redis Credentials 1. Go to Credentials → Create New 2. Select "Redis" 3. Enter: - Host: Your Redis host - Port: `6379` (default) - Password: Your Redis password 4. Test & Save #### D. Gmail Credentials 1. Go to Credentials → Create New 2. Select "Gmail OAuth2 API" 3. Follow OAuth setup flow 4. Authorize n8n to access Gmail 5. Test & Save #### E. Google Drive Credentials 1. Go to Credentials → Create New 2. Select "Google Drive OAuth2 API" 3. Follow OAuth setup flow 4. Authorize n8n to access Drive 5. Test & Save --- ### 7️⃣ Update Node Values #### A. Update OpenAI File ID in "PayloadForReply" Node 1. Double-click the "PayloadForReply" node 2. Find this line in the code: ```javascript const resumeFileId = "YOUR_OPENAI_FILE_ID_HERE"; ``` 3. Replace with your actual OpenAI file ID from Step 1: ```javascript const resumeFileId = "file-xxxxxxxxxxxxx"; ``` 4. Save the node #### B. Update Google Drive File ID (Both "Download Resume" Nodes) There are TWO nodes that need updating: Node 1: "Download Resume" 1. Double-click the node 2. In the "File ID" field, click "Expression" 3. Replace `YOUR_GOOGLE_DRIVE_FILE_ID` with your actual ID 4. Update "Cached Result Name" to your resume filename 5. Save Node 2: "Download Resume1" (same process) 1. Double-click the node 2. Update File ID 3. Update filename 4. Save --- ### 8️⃣ Assign Credentials to Nodes After importing, you need to assign your credentials to each node: Nodes that need credentials: | Node Name | Credential Type | |-----------|----------------| | Telegram Trigger | Telegram API | | Generating Reply | OpenAI API | | Store AI Reply | Redis | | GetValues | Redis | | Download Resume | Google Drive OAuth2 | | Download Resume1 | Google Drive OAuth2 | | Schedule Email | Gmail OAuth2 | | SendConfirmation | Telegram API | | Send a message | Telegram API | | Edit a text message | Telegram API | | Send a text message | Telegram API | | Send a chat action | Telegram API | How to assign: 1. Click on each node 2. In the "Credentials" section, select your saved credential 3. Save the node --

    What's Included

    • Complete n8n workflow template with 0 nodes. Ready to import and customize.

    Requirements

    n8n instance (self-hosted or cloud). credentials.

    How to Use

    1. Download the workflow JSON 2. Import into your n8n instance 3. Configure credentials for 4. Activate and enjoy automation

    How to import this template into n8n

    1. Download the workflow JSON file from this page.
    2. In n8n, open Workflows, create a new workflow and choose Import from File.
    3. Open each node that shows a warning and connect your own credentials.
    4. Run the workflow once manually to check the output before you activate it.
    Included in Pro
    • Importable n8n workflow JSON file
    • Download with Builder Pro or Agency Unlimited
    • Built for n8n v1.0++
    • Setup time: 5-15 min

    Included in Builder Pro — $19/mo, 4,177 premium workflows

    Before you activate

    Templates are reviewed before they are listed. Test with your own credentials and data before running it in production.

    Updated Mar 2026
    v1.0
    SSL
    Secure
    GDPR

    100% Secure Checkout

    Refund requests within 7 days of a new subscription

    Dependencies & Requirements

    Gmail
    Communication
    OpenAI
    AI
    HTTP Request
    Integration

    ⚠️ 3 services require credentials. Make sure you have accounts set up before importing.

    Reviews

    0

    No reviews yet

    See all 0 reviews ↓
    —

    0 reviews

    5★
    0
    4★
    0
    3★
    0
    2★
    0
    1★
    0

    No reviews yet.

    Questions & Answers

    0

    Log in to ask a question.

    No questions yet. Be the first to ask!

    People Also Bought