Back to Templates

AI-Powered Workflow Documentation & Promotion with Gemini, Notion & LinkedIn

Created by

Created by: Md. Nazmul Islam || pomegai

Md. Nazmul Islam

Last update

Last update a day ago

Share


Automated n8n Workflow Documentation and LinkedIn Promotion

Streamline your n8n workflow management! This powerful workflow automatically documents your n8n creations in Notion and promotes them on LinkedIn, all triggered by a simple file upload to Google Drive. Leverage Google Gemini AI to generate comprehensive descriptions and engaging social media content effortlessly.

Who is this For

This workflow is perfect for:

  • n8n Developers who want to save time on manual documentation
  • Content Creators regularly sharing n8n workflow templates
  • Teams needing a centralized, updated database of their automation solutions
  • Consultants showcasing their n8n expertise and offerings
  • Anyone looking to automate their workflow publishing and promotion process

Features

  • Automated Trigger: Starts when an n8n workflow JSON is uploaded to a designated Google Drive folder.
  • AI-Powered Description Generation: Google Gemini AI analyzes your workflow JSON and creates a detailed, human-readable description.
  • Notion Database Integration: Automatically creates a new page in your Notion database, populated with the workflow's title, AI-generated description, and a direct download link.
  • Dynamic LinkedIn Post Creation: Transforms the workflow description into an engaging, shareable LinkedIn post.
  • Seamless LinkedIn Publishing: Automatically posts the generated content to your LinkedIn profile to reach your audience.
  • Centralized Documentation: Maintains an organized and always-current record of your n8n templates.

How It Works

  1. Upload Workflow JSON to Google Drive:

    • Simply drag and drop your n8n workflow's JSON file into a specific Google Drive folder configured in the workflow.
  2. AI Analyzes and Generates Content:

    • The workflow automatically detects the new file and downloads its content.
    • Google Gemini AI then analyzes the workflow JSON to understand its functionality.
    • The AI crafts a comprehensive description and an engaging LinkedIn post based on the analysis.
  3. Notion Documentation:

    • A new page is automatically created in your specified Notion database.
    • This page includes the workflow's title, the AI-generated description, and a direct link to the original JSON file on Google Drive for easy download.
  4. LinkedIn Promotion:

    • The AI-generated LinkedIn post is automatically published to your LinkedIn profile.
    • This allows you to effortlessly share your latest n8n creations with your network.
  5. Video Demo:

Setting Up Google Drive and AI

  1. Import the Workflow

    • Create a new workflow in n8n
    • Import the JSON file by clicking "three dots" (upper right corner) > "Import from file..."
  2. Configure Google Drive Credentials

    • In the "wait for the json file upload" node, connect your "Google Drive OAuth2 API" credential.
    • Select the specific Google Drive folder where you will upload your n8n workflow JSON files.
    • In the "Download the json" node, connect the same "Google Drive OAuth2 API" credential.
  3. Configure Google Gemini API

    • Get your Google AI Studio API key from Google AI Studio
    • Create a "Google Gemini (PaLM) API" credential in n8n.
    • Connect this credential to both the "Description generator" and "Linkedin post generator" nodes.

Setting Up Notion and LinkedIn

  1. Set Up Notion Integration

    • In the "Create the notion page" node, connect your "Notion API" credential.
    • Select your Notion database. Ensure your Notion database has at least the following properties: "Title" (Title type), "Description" (Rich text type), "Automation Tools" (Select type), "Status" (Select type), and "Template-Download-Link" (URL type).
  2. Set Up LinkedIn Integration

    • In the "Create the linkedIn post" node, connect your "LinkedIn OAuth2 API" credential.
    • Specify the Person ID to whom the post should be published (this is usually your profile ID).
  3. Test the Workflow

    • Activate the workflow.
    • Upload an n8n workflow JSON file to your designated Google Drive folder.
    • Verify that a Notion page is created and a LinkedIn post is published successfully.

Pre-requisites

  • Necessary Accounts:

    1. Google Account (for Google Drive access)
    2. Google AI Studio Account (for Gemini API access)
    3. Notion Account (with a database for templates)
    4. LinkedIn Account (for posting)
    5. n8n Instance (cloud or self-hosted)
  • API Access:

    • Google Generative AI API access
    • Valid Google Drive, Notion, and LinkedIn OAuth/API credentials
  • N8N Requirements:

    • n8n version 1.0.0 or higher
    • LangChain nodes package installed
    • Internet access for API calls

Customization Guidance

  1. AI Prompt Tuning:
    • Modify the prompts in the "Generate the description" and "Generate the linkedin post" nodes to adjust the tone, style, length, or specific information requested from the AI.
  2. Notion Database Structure:
    • Customize the Notion database properties in the "Create the notion page" node to include additional fields like tags, video demos, or integration details.
  3. LinkedIn Post Strategy:
    • Adjust the LinkedIn post generation prompt to include specific hashtags, mentions, or calls to action to optimize for your audience.

Technical Specifications

  • Trigger Source: Google Drive file upload (JSON files)
  • AI Model: Google Gemini
  • Output Destinations: Notion database page, LinkedIn personal feed
  • Input Format: n8n workflow JSON
  • Processing Time: Typically under 1 minute (depends on AI response time and API calls)

Limitations & Considerations

  • Ensure the Google Drive folder specified in the trigger is exclusively for n8n workflow JSONs to prevent accidental triggers from other file types.
  • While AI-generated, it's recommended to manually review descriptions and LinkedIn posts, especially for critical content, before relying solely on automation.
  • API rate limits for Google Gemini, Notion, and LinkedIn should be considered for very high-volume usage.
  • The Notion database must be pre-configured with the correct property types (Title, Rich Text, URL, Select) for the workflow to function as intended.

Ready to Automate Your Workflow Documentation and Promotion?
This workflow empowers you to effortlessly share and document your n8n creations, allowing you to focus more on building and less on administrative tasks.