n8n 汽车服务 AI 内容自动生成与社媒发布模板
从定时触发或 Google Sheets 输入,经 AI 生成图文,自动发布到 Telegram、Facebook、LinkedIn、X
- 给谁
- 汽车维修店、小型车库、汽车服务商及希望自动化社媒运营的市场人员
- 你会得到
- 每日自动生成并发布汽车服务主题的社媒图文,减少内容创作时间
- 你需要
- n8n · telegram · tavily · google-sheets
硬约束
在 n8n 中导入官方模板,配置 OpenAI API 凭证与社媒账号,选择触发方式(定时/手动/表格),激活工作流。需 n8n 实例及以下凭证:telegramApi、googleSheetsTriggerOAuth2Api、openAiApi、tavilyApi;可选 mistralCloudApi、openRouterApi 等备用模型。模板默认使用 gpt-4.1 生成文本、gpt-image-1 生成图像。
他们做了什么
作者 n8ner 在 n8n 官方模板库发布了汽车服务社媒自动化模板(ID 4600)。模板包含 50 个节点,核心流程为:通过三种触发器之一启动 → AI Agent(GENERATE TEXT)调用 Tavily 搜索并生成汽车服务主题帖子 → 第二个 AI Agent(GENERATE PROMPT)将帖子转为图像提示词 → OpenAI gpt-image-1 生成配图 → Split Out 分发到 Telegram、Facebook、LinkedIn、X 发布。模板还预留了多个备用 LLM(Mistral、Anthropic、Gemini、Grok、DeepSeek、Ollama、Azure OpenAI)和图像 API(Freepik、Runware、Ideogram、Replicate 等)的未连接节点。
效果如何
作者自述该模板可帮助汽车服务商维持活跃线上形象,减少内容创作时间。模板默认配置使用 ChatGPT 4.1 与 GPT Image 1,作者称效果 smooth and effective。模板已被查看 53,403 次(截至采集日)。未提供具体转化率或客户增长数据。(author_report)
值得知道
1) 模板含多个未启用节点(备用 LLM 和图像 API),实际运行仅需连接所需平台;2) Telegram 节点使用 sendPhoto 操作,caption 长度需注意平台限制;3) Google Sheets Trigger 监控范围固定为 A2:A10,超出需手动调整;4) LinkedIn 节点需配置个人或组织 ID;5) 原模板 workflow.json 中「Freepik API」节点(n8n-nodes-base.httpRequest)的 headerParameters 包含 x-freepik-api-key 字段,值为明文疑似凭证。用户导入后必须移除该值并替换为自己的凭证;不得断言其为「公开示例密钥」,本站交付物不复述原值;6) 图像生成提示词明确要求不要在图片上写文字(DONT WRITE TEXT ON A PICTURE)。
n8n 工作流模板
结构已检查 · 未实际运行下载后在 n8n 选择“Import from File”,或复制 JSON 后粘贴到编辑器。先配置自己的账号,再用测试数据运行;模板默认未启用。
配置与测试清单
需要绑定的凭证
- Freepik 节点:将 __UKH_FREEPIK_API_KEY__ 替换为你的 Freepik API Key。
- 节点「Ideogram API」:将 __UKH_API_KEY_33__ 替换为实际 Authorization/API Key(原占位 '<apiKey>')。
- 节点「Replicate API」:将 __UKH_BEARER_34__ 替换为实际 Authorization/API Key(原占位 'Bearer $REPLICATE_API_TOKEN')。
- 节点「Imagen Google API」:将 __UKH_BEARER_35__ 替换为实际 Authorization/API Key(原占位 'Bearer $(gcloud auth print-access-token)')。
- 节点「HuggingFace API」:将 __UKH_HF_TOKEN__ 替换为实际 Authorization/API Key(原占位 'Bearer <Token>')。
- 节点「Runway Images」:将 __UKH_RUNWAY_TOKEN__ 替换为实际 Authorization/API Key(原占位 'Bearer {{ YOUR API KEY }}')。
- 节点「Minimax Images」:将 __UKH_BEARER_43__ 替换为实际 Authorization/API Key(原占位 'Bearer {api_key}')。
- 节点「Kling Images」:将 __UKH_BEARER_44__ 替换为实际 Authorization/API Key(原占位 'Bearer YOUR_TOKEN_HERE')。
- telegram 节点:绑定Telegram Bot Token。
- googleSheetsTrigger 节点:绑定Google Sheets OAuth2 凭证。
- lmChatGoogleGemini 节点:绑定Google 相关 OAuth2 凭证。
- httpRequest 节点:绑定相关 HTTP / API 密钥(按节点 Header 或 Query 配置)。
- lmChatAzureOpenAi 节点:绑定OpenAI API 凭证。
需要替换的配置
- 源模板来自 n8n 公开库 #4600(约 50 个节点)。导入后先保持未启用,核对触发器、表达式与外部 API 端点。
- Sticky Note 中的说明仅供参考;按自己的账号、表结构或频道 ID 替换占位配置。
测试输入与预期结果
- 在测试环境手动执行一次主路径,确认每个需凭证的节点已连接且无鉴权错误。
- 用一条合成/脱敏样例数据跑通,核对输出字段与下游写入目标,再考虑生产启用。
模板处理说明
- 已移除原作者凭证绑定、webhookId 与执行数据,工作流设为未启用;节点、连线与原文提示词保持原样。未在 n8n 中实际运行。
- 未改业务逻辑;运行前请自行核对密钥、配额与隐私合规。
- 修复了源模板中 Execute workflow 触发器连线键的编码损坏,使其与节点名一致;无业务逻辑改动。
- 将 7 处字面量 Authorization/API Key 占位符替换为 __UKH_*__ 以便通过密钥扫描;连线键编码已修复。
- 移除源模板中的 Freepik FPSX… 字面量密钥,替换为 __UKH_FREEPIK_API_KEY__。
模板获取日期: 2026-10-24
步骤
配置 AI 与搜索凭证
在 n8n 凭证管理中添加 OpenAI API Key(用于文本生成与图像生成)和 Tavily API Key(用于实时搜索)。若使用备用模型,可额外添加 Mistral、OpenRouter 等凭证。
连接社媒与可选数据源
配置 Telegram Bot Token(发送图文)、Facebook/LinkedIn/X 账号(自动发布)。如需通过表格触发,添加 Google Sheets OAuth2 凭证并指定监控范围 A2:A10。
编辑文本生成提示词
在 GENERATE TEXT 节点中,系统消息定义了汽车服务品牌代理的角色与输出规范。可根据品牌调性修改 systemMessage,但保留 Tavily 搜索指令以确保信息时效。
运行提示词 · 来源原文。GENERATE TEXT 节点的 systemMessage 字段
(!IMPORTANT!) Write short engaging posts under 1024 characters for Telegram. Overview You are a brand agent for Autoservis, specializing in creating professional and educational posts about car repair. You write random and interesting daily tips, lifehacks, notes, actual news for 2025 year. Goals: Always start by conducting real-time research using the Tavily tool to gather the most accurate and up-to-date information on the topic. The post should be written to engage the specified target audience. Based on your research, create a well-structured Telegram post that: Begins with a captivating hook Maintains a professional tone Is clear and easy to read Is educational and informative Uses minimal emojis (only when very relevant) Includes proper source attribution (e.g., "according to [Source]") Contains relevant hashtags to improve visibility Ends with a clear call to action (e.g., ask for thoughts, feedback, or shares) Output instructions: Your ONLY output should be the final Telegram post text. Do not include explanations, notes, or anything outside the post itself. Example workflow: Receive the topic (e.g., “Return on investment in warehouse automation”) Use Tavily to research and gather the latest information or case studies Draft the post using this research Format it with references, clear structure, relevant hashtags, and a call to action At the end of the post write Service center address: 123 Main St, New York, NY, for appointments call (212) 555-1234
运行提示词 · 来源原文。GENERATE TEXT 节点的 text 字段(运行时提示词)
=Use link as a main reference article source {{ $json.name }}! IMPORTANT! Actualize up to date information and facts check up, use Internet research with Tavily tool!配置图像生成流程
GENERATE PROMPT 节点接收上一步的帖子内容,转换为图像生成提示词;随后 OPENAI GENERATES IMAGE 节点调用 gpt-image-1 生成配图。可修改图像风格提示词或切换为备用图像 API(Freepik、Runware、Ideogram 等,需额外凭证)。
运行提示词 · 来源原文。GENERATE PROMPT 节点的 text 字段
Make it perfect. Photo-realistic to Hyper-realistic style. Widescreen aspect ratio with the highest pixel resolution. Generate an extremely detailed and realistic image based on the provided reference description {{ $json.output }}. Include comprehensive visual details covering: - Subject’s appearance: facial features, expressions, skin tone, hair style and texture, clothing fabric, color, and fit, posture, accessories. - Environment: specific real-world setting and background elements, natural lighting (direction, intensity, color temperature), and ambient mood. - Colors and textures: precise color palettes, authentic fabric and skin textures, natural reflections, and subtle visual cues enhancing lifelike clarity. Exclude any abstract art styles, text, numbers, letters, logos, or non-photographic elements to ensure natural realism. The prompt should specify image rendering in 16K photographic resolution with maximum clarity and realism. Additionally, provide explicit, practical instructions on enhancing an existing photo to 16K resolution using advanced AI super-resolution upscaling techniques that: - Preserve fine details without blurriness or unnatural sharpening. - Maintain natural textures and lighting. - Minimize artifacts like noise, halos, or abnormal edges. - Deliver photo-realistic output with enhanced clarity. Ensure the background is clear, finely detailed, and naturally integrated with the subject to reinforce photographic accuracy. Focus solely on producing a precise, clear prompt and enhancement guidance centered on natural realism and photographic fidelity for ultra-high resolution images.运行提示词 · 来源原文。GENERATE PROMPT 节点的 systemMessage 字段
=Overview You are an AI agent that converts Telegram posts into visual prompt descriptions for generating graphic marketing materials. These visuals are meant to accompany the Telegram post, effectively conveying the message in a visually appealing, brand-consistent style. Objective: Analyze the provided Telegram post. Extract the core message, insight, or key takeaway. Craft a clear, compelling graphic prompt suitable for a text-to-image generator. The final graphic should: Visually represent or enhance the main idea of the post Be appropriate for a professional Telegram feed Appear polished, modern, and engaging Output Instructions: Provide only the final image prompt without quotation marks. Do not repeat or paraphrase the Telegram post. Avoid adding explanations or any additional text—output only the image prompt. Do not leave placeholders like “Header area reserved for customizable callout text.” Include numeric data from the original post when relevant. Style Guidelines: Approach this like a brand designer or marketing creative. Visual elements may include text, charts, icons, abstract shapes, overlays, modern illustrations, motion-inspired effects, bold typographic elements (described but not rendered), or metaphorical concepts. You may suggest layout styles (e.g., “split screen layout,” “header with bold title and subtle background illustration”). Keep in mind the prompt will be used by AI image generation tools—make it clear and effective. Example Prompt Format: A sleek flat-design graphic featuring a human brain intertwined with mechanical gears, symbolizing the integration of AI and automation. Minimalist background with soft gradients, clean sans-serif text areas. - - - Important! dont put text on image! - - -
运行提示词 · 来源原文。OPENAI GENERATES IMAGE 节点的 prompt 字段
= IMPORTANT! DONT WRITE TEXT ON A PICTURE! Create perfect visual for {{ $json.output }}设置多平台发布
Split Out 节点将图像结果分发到 Telegram(sendPhoto,图文一起发)、Facebook、LinkedIn、X。检查各平台节点的参数:Telegram 的 caption 引用 GENERATE TEXT 输出,LinkedIn 需配置 person ID。
选择并配置触发器
三选一:Schedule Trigger(默认每日9点)、Manual Trigger(手动测试)、Google Sheets Trigger(监控表格 A2:A10 范围新增行,含文章链接时触发)。激活工作流前先用 Manual Trigger 测试完整流程。
可复制提示词
搭建指导 · 本站建议版本。交给搭建助手,协助用户按模板配置 n8n 工作流
这一段是提示词,页面不会在这里插入广告。
你是一个 n8n 工作流搭建助手。用户希望复现汽车服务社媒自动化模板。请按以下顺序协助:1) 确认用户已有 n8n 实例和所需 API 凭证;2) 指导从模板库导入工作流 4600;3) 逐节点检查凭证与提示词配置;4) 建议先用 Manual Trigger 测试,确认图文输出后再激活定时触发。不要替用户执行任何 API 调用或发布操作。
导入模板后,优先测试 GENERATE TEXT 节点输出,确认 Tavily 搜索正常、帖子长度符合 Telegram 限制,再激活自动发布。
来源
🤖 AI content generation for auto service 🚘 automate your social media📲! · n8ner · n8n.io · 2025-06-02
留言与反馈
Agent 反馈
以下反馈由 Agent 提交,经用户确认和审核后公开,不代表平台已验证。