销售:Android Webhooks
这是一个Other、AI领域的自动化工作流,包含 14 个节点。主要使用 If、Webhook、HttpRequest、Agent、RespondToWebhook 等节点,结合人工智能技术实现智能自动化。 Android 到 N8N 自动化 | 使用 Readeck、Openrouter、SerpAPI 保存链接
- •HTTP Webhook 端点(n8n 会自动生成)
- •可能需要目标 API 的认证凭证
使用的节点 (14 个)
{
"id": "duORucUF1eNJFOXp",
"meta": {
"instanceId": "d16fb7d4b3eb9b9d4ad2ee6a7fbae593d73e9715e51f583c2a0e9acd1781c08e",
"templateCredsSetupCompleted": true
},
"name": "销售:Android Webhooks",
"tags": [
{
"id": "XZIQK6NdzGvgbZFd",
"name": "Sell",
"createdAt": "2025-01-15T12:28:48.424Z",
"updatedAt": "2025-01-15T12:28:48.424Z"
}
],
"nodes": [
{
"id": "49c1e95f-2339-4783-bd7d-122692ca29e1",
"name": "SerpAPI",
"type": "@n8n/n8n-nodes-langchain.toolSerpApi",
"position": [
840,
200
],
"parameters": {
"options": {}
},
"credentials": {
"serpApi": {
"id": "w7auLMttmcRSgY7R",
"name": "Auto: SerpAPI"
}
},
"typeVersion": 1
},
{
"id": "c3db131d-2f76-4c07-a130-3da7813c5fa2",
"name": "自动修复输出解析器",
"type": "@n8n/n8n-nodes-langchain.outputParserAutofixing",
"position": [
980,
200
],
"parameters": {
"options": {}
},
"typeVersion": 1
},
{
"id": "4ad243d0-24df-41f8-bc1a-809163b236ce",
"name": "结构化输出解析器",
"type": "@n8n/n8n-nodes-langchain.outputParserStructured",
"position": [
1120,
420
],
"parameters": {
"jsonSchemaExample": "{\n\t\"tags\": [\"AI Apps\", \"Articles\", \"Github\"]\n}"
},
"typeVersion": 1.2
},
{
"id": "e0fc52ce-53c1-4e6e-9378-6a664f186946",
"name": "获取 Webhook 内容",
"type": "n8n-nodes-base.webhook",
"position": [
0,
0
],
"webhookId": "fadadd65-756f-45a1-9593-c682600b0495",
"parameters": {
"path": "android",
"options": {},
"httpMethod": "POST",
"responseMode": "responseNode",
"authentication": "basicAuth"
},
"credentials": {
"httpBasicAuth": {
"id": "RMsm5KvysSzsGpDE",
"name": "Unnamed credential"
}
},
"typeVersion": 2
},
{
"id": "00cb8828-a466-4739-a46e-a246aa7b1788",
"name": "提取 URL 和标题",
"type": "@n8n/n8n-nodes-langchain.informationExtractor",
"position": [
220,
0
],
"parameters": {
"text": "={{ $json.body.data }}",
"options": {},
"schemaType": "fromJson",
"jsonSchemaExample": "{\n\t\"title\": \"Title of content.\",\n\t\"url\": \"URL of the content.\"\n}"
},
"typeVersion": 1
},
{
"id": "c44e6de8-a1a3-4d8e-941c-ef2b507f5faf",
"name": "如果提供了标题和 URL",
"type": "n8n-nodes-base.if",
"position": [
580,
0
],
"parameters": {
"options": {},
"conditions": {
"options": {
"version": 2,
"leftValue": "",
"caseSensitive": true,
"typeValidation": "strict"
},
"combinator": "and",
"conditions": [
{
"id": "0a4aeb10-3ab5-4232-a380-b41352ac55da",
"operator": {
"type": "string",
"operation": "notEmpty",
"singleValue": true
},
"leftValue": "={{ $json.output.url }}",
"rightValue": ""
}
]
}
},
"typeVersion": 2.2
},
{
"id": "6cc2348b-1f91-405a-a5ab-df61db0511ba",
"name": "内容标记代理",
"type": "@n8n/n8n-nodes-langchain.agent",
"onError": "continueRegularOutput",
"position": [
800,
-20
],
"parameters": {
"text": "={{ $json.output.url }}",
"options": {
"systemMessage": "Act as an SEO analyst. Use the SerpAPI tool to retrieve detailed information about the provided URL. Analyze the page's content, meta tags, and search engine data to generate human-readable, SEO-friendly tags using natural language phrases (no hyphens). If no relevant tags can be derived, default to the website’s cleaned hostname. Follow these steps:\n\nRetrieve Data: Use SerpAPI to fetch the URL’s metadata (title, description), content keywords, and related entities.\n\nAnalyze Content: Identify primary topics, entities, and high-frequency keywords. Prioritize natural language phrases, and always use title case (e.g., “Machine Learning” instead of “machine-learning”).\n\nGenerate Tags: Create 2-3 tags with spaces (no hyphens/special characters) and in Title case.\n- Fallback Rule: If content is insufficient, use the website’s hostname (e.g., https://news.example.com → example). Clean the hostname by removing www, subdomains, and protocols.\n\nValidate: Ensure tags are readable, relevant, and aligned with SerpAPI’s keyword/trend data (e.g., search volume, user intent)."
},
"promptType": "define",
"hasOutputParser": true
},
"typeVersion": 1.7
},
{
"id": "1e9f7ea2-02d0-4116-a9cc-7f1ab573a7e2",
"name": "OpenRouter GPT 40 Mini",
"type": "@n8n/n8n-nodes-langchain.lmChatOpenRouter",
"position": [
200,
180
],
"parameters": {
"options": {}
},
"credentials": {
"openRouterApi": {
"id": "ddH6iNlm09UxrXvu",
"name": "Auto: OpenRouter"
}
},
"typeVersion": 1
},
{
"id": "5ce1b81a-0fbc-4ecb-ab8d-098aca7be467",
"name": "缓冲区记忆",
"type": "@n8n/n8n-nodes-langchain.memoryBufferWindow",
"position": [
680,
200
],
"parameters": {
"sessionKey": "={{ $('Get Webhook Content').item.json.headers['cf-ray'] }}",
"sessionIdType": "customKey",
"contextWindowLength": 20
},
"typeVersion": 1.3
},
{
"id": "185f7332-3a63-41f9-83eb-3af4e4ebd1e2",
"name": "创建书签",
"type": "n8n-nodes-base.httpRequest",
"notes": "Create bookmark on ReadDeck",
"position": [
1160,
-20
],
"parameters": {
"url": "https://readeck.agentsops.pro/api/bookmarks",
"method": "POST",
"options": {},
"sendBody": true,
"sendHeaders": true,
"authentication": "genericCredentialType",
"bodyParameters": {
"parameters": [
{
"name": "labels",
"value": "={{ $json.output.tags }}"
},
{
"name": "title",
"value": "={{ $('If Title and URL provided').item.json.output.title }}"
},
{
"name": "url",
"value": "={{ $('Extractor URL & Title').item.json.output.url }}"
}
]
},
"genericAuthType": "httpHeaderAuth",
"headerParameters": {
"parameters": [
{
"name": "accept",
"value": "application/json"
},
{
"name": "content-type",
"value": "application/json"
}
]
}
},
"credentials": {
"httpHeaderAuth": {
"id": "aE5iIuGK9nf08RwX",
"name": "Auto: Readeck"
}
},
"notesInFlow": true,
"typeVersion": 4.2
},
{
"id": "613a461d-f941-4149-b71c-050c25d17648",
"name": "如果书签已创建",
"type": "n8n-nodes-base.if",
"position": [
1380,
-20
],
"parameters": {
"options": {},
"conditions": {
"options": {
"version": 2,
"leftValue": "",
"caseSensitive": true,
"typeValidation": "strict"
},
"combinator": "and",
"conditions": [
{
"id": "bc4d7840-40bd-4b02-a4a5-9967fcec0ca2",
"operator": {
"type": "number",
"operation": "equals"
},
"leftValue": "={{ $json.status }}",
"rightValue": 202
},
{
"id": "ef47dc64-8ebe-4b66-aa2b-917702097d4c",
"operator": {
"type": "string",
"operation": "equals"
},
"leftValue": "={{ $json.message }}",
"rightValue": "Link submited"
}
]
}
},
"typeVersion": 2.2
},
{
"id": "4879057b-e3da-4c6d-9a77-44fed749c119",
"name": "书签已创建",
"type": "n8n-nodes-base.respondToWebhook",
"position": [
1600,
-20
],
"parameters": {
"options": {},
"respondWith": "text",
"responseBody": "Your bookmark has been successfully created! You can now easily access this content anytime from your bookmarks section."
},
"typeVersion": 1.1
},
{
"id": "c81bfb95-258e-40fe-a006-f789b0fdf9b9",
"name": "书签未创建",
"type": "n8n-nodes-base.respondToWebhook",
"position": [
1600,
-200
],
"parameters": {
"options": {},
"respondWith": "text",
"responseBody": "Bookmarking this content is not possible at the moment. Please try again later or check if bookmarking is supported for this type of content."
},
"typeVersion": 1.1
},
{
"id": "e9c5e016-bd00-4ec8-bc25-3866ef950bf8",
"name": "未找到标题和 URL",
"type": "n8n-nodes-base.respondToWebhook",
"position": [
800,
-180
],
"parameters": {
"options": {},
"respondWith": "text",
"responseBody": "Bookmarking this content is not possible at the moment. Please try again later or check if bookmarking is supported for this type of content."
},
"typeVersion": 1.1
}
],
"active": true,
"pinData": {},
"settings": {
"executionOrder": "v1"
},
"versionId": "2968d4c9-1aec-4357-bb40-76567b325ee5",
"connections": {
"SerpAPI": {
"ai_tool": [
[
{
"node": "Content Tagging Agent",
"type": "ai_tool",
"index": 0
}
]
]
},
"Buffer Memory": {
"ai_memory": [
[
{
"node": "Content Tagging Agent",
"type": "ai_memory",
"index": 0
}
]
]
},
"Create Bookmark": {
"main": [
[
{
"node": "If Bookmark Created",
"type": "main",
"index": 0
}
]
]
},
"Get Webhook Content": {
"main": [
[
{
"node": "Extractor URL & Title",
"type": "main",
"index": 0
}
]
]
},
"If Bookmark Created": {
"main": [
[
{
"node": "Bookmark Created",
"type": "main",
"index": 0
}
],
[
{
"node": "Bookmark Not Created",
"type": "main",
"index": 0
}
]
]
},
"Content Tagging Agent": {
"main": [
[
{
"node": "Create Bookmark",
"type": "main",
"index": 0
}
]
]
},
"Extractor URL & Title": {
"main": [
[
{
"node": "If Title and URL provided",
"type": "main",
"index": 0
}
]
]
},
"OpenRouter GPT 40 Mini": {
"ai_languageModel": [
[
{
"node": "Extractor URL & Title",
"type": "ai_languageModel",
"index": 0
},
{
"node": "Content Tagging Agent",
"type": "ai_languageModel",
"index": 0
},
{
"node": "Auto-fixing Output Parser",
"type": "ai_languageModel",
"index": 0
}
]
]
},
"Structured Output Parser": {
"ai_outputParser": [
[
{
"node": "Auto-fixing Output Parser",
"type": "ai_outputParser",
"index": 0
}
]
]
},
"Auto-fixing Output Parser": {
"ai_outputParser": [
[
{
"node": "Content Tagging Agent",
"type": "ai_outputParser",
"index": 0
}
]
]
},
"If Title and URL provided": {
"main": [
[
{
"node": "Content Tagging Agent",
"type": "main",
"index": 0
}
],
[
{
"node": "Title & URL Not Found",
"type": "main",
"index": 0
}
]
]
}
}
}如何使用这个工作流?
复制上方的 JSON 配置代码,在您的 n8n 实例中创建新工作流并选择「从 JSON 导入」,粘贴配置后根据需要修改凭证设置即可。
这个工作流适合什么场景?
这是一个中级难度的工作流,适用于Other、AI等场景。适合有一定经验的用户,包含 6-15 个节点的中等复杂度工作流
需要付费吗?
本工作流完全免费,您可以直接导入使用。但请注意,工作流中使用的第三方服务(如 OpenAI API)可能需要您自行付费。
相关工作流推荐
Udit Rawat
@ailistmasterHi, I’m Udit, an Acquia-certified developer with a strong background in web development and creating enterprise solutions. Recently, I’ve transitioned into AI and ML, I hold DIAT Professional AI Certification. I specialize in building AI-driven automation to streamline workflows, improve efficiency, and solve complex problems. With expertise in AI/ML tools and years of experience in Acquia and Drupal, I’m passionate about leveraging tech to drive innovation and create smarter solutions.
分享此工作流