生成 PDF 报告的 SWOT 分析生成器
高级
这是一个Market Research, Multimodal AI领域的自动化工作流,包含 40 个节点。主要使用 Set, Code, Gmail, Limit, Merge 等节点。 使用 OpenAI、Google Sheets 和 APITemplate PDF 导出生成 SWOT 分析报告
前置要求
- •Google 账号和 Gmail API 凭证
- •可能需要目标 API 的认证凭证
- •Google Sheets API 凭证
- •OpenAI API Key
使用的节点 (40)
工作流预览
可视化展示节点连接关系,支持缩放和平移
导出工作流
复制以下 JSON 配置到 n8n 导入,即可使用此工作流
{
"id": "z5I7hevqasiIz2qD",
"meta": {
"instanceId": "205780d3749915e5b72849aad8492ed96140f3a3cf0d7f077a27e6df51ded409"
},
"name": "生成 PDF 报告的 SWOT 分析生成器",
"tags": [
{
"id": "o58aq7CrdbXQHYA0",
"name": "template",
"createdAt": "2025-06-14T10:20:41.387Z",
"updatedAt": "2025-06-14T10:20:41.387Z"
}
],
"nodes": [
{
"id": "aa51bba9-bf2b-4566-a1af-352e75661ecd",
"name": "当点击\"测试工作流\"时",
"type": "n8n-nodes-base.manualTrigger",
"position": [
1080,
860
],
"parameters": {},
"typeVersion": 1
},
{
"id": "c3d74eee-3257-4e3d-a51b-fab1ebd67feb",
"name": "Google Sheets",
"type": "n8n-nodes-base.googleSheets",
"position": [
1300,
860
],
"parameters": {
"options": {},
"sheetName": {
"__rl": true,
"mode": "list",
"value": "gid=0",
"cachedResultUrl": "https://docs.google.com/spreadsheets/d/19k1nKNIj8J63e4LoR2yVDq2YN5fOFMHBOpMnrakLNOM/edit#gid=0",
"cachedResultName": "Company Info Input"
},
"documentId": {
"__rl": true,
"mode": "list",
"value": "19k1nKNIj8J63e4LoR2yVDq2YN5fOFMHBOpMnrakLNOM",
"cachedResultUrl": "https://docs.google.com/spreadsheets/d/19k1nKNIj8J63e4LoR2yVDq2YN5fOFMHBOpMnrakLNOM/edit?usp=drivesdk",
"cachedResultName": "SWOT Analysis"
}
},
"typeVersion": 4.5
},
{
"id": "a977708a-036f-4826-8790-8325ad8cae31",
"name": "AI 代理",
"type": "@n8n/n8n-nodes-langchain.agent",
"position": [
1520,
860
],
"parameters": {
"text": "=**Company Name:** {{ $json[\"Company Name\"] }}\n\n**Industry:** {{ $json.Industry }}\n\n**Business Size:** {{ $json[\"Business Size\"] }}\n\n**Market Region:** {{ $json[\"Market Region\"] }}\n\n**Unique Value Proposition:** {{ $json[\"Unique Value Proposition\"] }}\n\n**Company Overview:** {{ $json[\"Company Overview\"] }}\n\n**Customer Base:** {{ $json[\"Customer Base\"] }}\n\n**Acquired Resources:** {{ $json[\"Acquired Resources\"] }}\n\n**Financials:** {{ $json.Financials }}\n\n**Team Expertise:** {{ $json[\"Team Expertise\"] }}\n\n**Known Weaknesses:** {{ $json[\"Known Weaknesses\"] }}\n\n**Customer Feedback:** {{ $json[\"Customer Feedback\"] }}\n\n**Market Trends:** {{ $json[\"Market Trends\"] }}\n\n**Competitors:** {{ $json.Competitors }}\n\n**Legal/Regulatory Environment:** {{ $json[\"Legal/Regulatory Environment\"] }}\n\n**Tech Developments:** {{ $json[\"Tech Developments\"] }}\n\n**Threats (Potential Threats):** {{ $json[\"Threats (Potential Threats)\"] }}\n\n**Short-Term Goals:** {{ $json[\"Short-Term Goals\"] }}\n\n**Long-Term Goals:** {{ $json[\"Long-Term Goals\"] }}",
"options": {
"systemMessage": "=<system_prompt>\nYOU ARE A STRUCTURED SWOT EXTRACTION AGENT DESIGNED TO PROCESS RAW BUSINESS TEXT AND OUTPUT A CLEAN, PARSEABLE SWOT MAP. YOU **DO NOT INTERPRET, SUMMARIZE, OR ANALYZE**. YOUR ONLY TASK IS TO **EXTRACT PHRASES OR SENTENCES** THAT **CLEARLY ALIGN WITH ONE AND ONLY ONE** OF THE FOUR SWOT CATEGORIES.\n\n### OBJECTIVE ###\nEXTRACT AND STRUCTURE INPUT INFORMATION INTO A JSON OBJECT WITH FOUR ARRAYS:\n- `strengths`: INTERNAL POSITIVE FACTORS\n- `weaknesses`: INTERNAL NEGATIVE FACTORS\n- `opportunities`: EXTERNAL POSITIVE FACTORS\n- `threats`: EXTERNAL NEGATIVE FACTORS\n\nYOU MUST:\n- READ full paragraphs or blocks of business input\n- ISOLATE ONLY SWOT-RELEVANT SENTENCES OR CLAUSES\n- EXCLUDE all neutral, vague, or non-actionable content\n- OUTPUT ONLY the extracted statements as plain strings in their respective arrays\n\n### STRICT RULES ###\n- DO NOT COPY WHOLE PARAGRAPHS\n- DO NOT REWRITE OR REPHRASE CONTENT\n- DO NOT INCLUDE UNCLEAR, MIXED, OR NON-SWOT DATA\n- DO NOT ADD EXPLANATIONS OR ANY TEXT OUTSIDE THE JSON OUTPUT\n\n### CHAIN OF THOUGHTS (MANDATORY LOGIC FLOW) ###\n\n1. **UNDERSTAND** the full input text\n2. **IDENTIFY** standalone sentences or clauses that describe a clear SWOT element\n3. **CLASSIFY** each by determining:\n - INTERNAL + POSITIVE = `strength`\n - INTERNAL + NEGATIVE = `weakness`\n - EXTERNAL + POSITIVE = `opportunity`\n - EXTERNAL + NEGATIVE = `threat`\n4. **ISOLATE** only the specific sentence or clause representing that category\n5. **BUILD** a JSON object structured as:\n\n```json\n{\n \"strengths\": [\"strength 1\", \"strength 2\"],\n \"weaknesses\": [\"weakness 1\", \"weakness 2\"],\n \"opportunities\": [\"opportunity 1\", \"opportunity 2\"],\n \"threats\": [\"threat 1\", \"threat 2\"]\n}\n```\n\n6. **FILTER OUT** anything ambiguous, irrelevant, or non-categorizable\n\n### FEW-SHOT EXAMPLE ###\n\n#### INPUT:\n\"While our logistics suffered under supply chain disruptions in 2021 and 2022, recent upgrades have drastically reduced shipping delays. We now deliver 85% of orders within 2 days. However, cyber risk continues to rise in our sector. There's also a growing demand in Southeast Asia for products like ours.\"\n\n#### OUTPUT:\n```json\n{\n \"strengths\": [\"We now deliver 85% of orders within 2 days\", \"recent upgrades have drastically reduced shipping delays\"],\n \"weaknesses\": [\"logistics suffered under supply chain disruptions in 2021 and 2022\"],\n \"opportunities\": [\"growing demand in Southeast Asia for products like ours\"],\n \"threats\": [\"cyber risk continues to rise in our sector\"]\n}\n```\n\n### WHAT NOT TO DO ###\n\n- DO NOT OUTPUT FULL PARAGRAPHS OR MIXED SENTENCES\n- NEVER INTERPRET IMPLIED MEANING OR CONTEXTUAL HINTS\n- NEVER REPHRASE, REWRITE, OR SUMMARIZE THE USER’S INPUT\n- DO NOT ADD COMMENTS, HEADERS, OR ANY NON-JSON CONTENT\n- DO NOT ASSUME SWOT CATEGORIZATION IF THE SIGNAL IS UNCLEAR\n- AVOID ALL \"FILLER\" OUTPUT — RETURN ONLY CATEGORIZED, RELEVANT TEXT\n\n</system_prompt>\n"
},
"promptType": "define",
"hasOutputParser": true
},
"typeVersion": 1.8
},
{
"id": "73ce5d23-a2a4-4aa8-86d9-93080461080d",
"name": "结构化输出解析器",
"type": "@n8n/n8n-nodes-langchain.outputParserStructured",
"position": [
1700,
1080
],
"parameters": {
"jsonSchemaExample": "{\n \"strengths\": [\"We now deliver 85% of orders within 2 days\", \"recent upgrades have drastically reduced shipping delays\"],\n \"weaknesses\": [\"logistics suffered under supply chain disruptions in 2021 and 2022\"],\n \"opportunities\": [\"growing demand in Southeast Asia for products like ours\"],\n \"threats\": [\"cyber risk continues to rise in our sector\"]\n}"
},
"typeVersion": 1.2
},
{
"id": "14a91c36-ebad-443a-9dcd-0e398f94e0f7",
"name": "OpenAI Chat Model",
"type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
"position": [
1540,
1080
],
"parameters": {
"model": {
"__rl": true,
"mode": "list",
"value": "gpt-4.1-mini",
"cachedResultName": "gpt-4.1-mini"
},
"options": {}
},
"typeVersion": 1.2
},
{
"id": "915ef61b-61dd-4bcc-94cc-e1291a918a24",
"name": "优势分析",
"type": "@n8n/n8n-nodes-langchain.agent",
"position": [
1900,
560
],
"parameters": {
"text": "=**Company Name:** {{ $('Google Sheets').item.json[\"Company Name\"] }}\n\n**Industry:** {{ $('Google Sheets').item.json.Industry }}\n\n**Business Size:** {{ $('Google Sheets').item.json[\"Business Size\"] }}\n\n**Market Region:** {{ $('Google Sheets').item.json[\"Market Region\"] }}\n\n**Unique Value Proposition:** {{ $('Google Sheets').item.json[\"Unique Value Proposition\"] }}\n\n**Company Overview:** {{ $('Google Sheets').item.json[\"Company Overview\"] }}\n\n**Customer Base:** {{ $('Google Sheets').item.json[\"Customer Base\"] }}\n\n**Acquired Resources:** {{ $('Google Sheets').item.json[\"Acquired Resources\"] }}\n\n**Financials:** {{ $('Google Sheets').item.json.Financials }}\n\n**Team Expertise:** {{ $('Google Sheets').item.json[\"Team Expertise\"] }}\n\n**Known Weaknesses:** {{ $('Google Sheets').item.json[\"Known Weaknesses\"] }}\n\n**Customer Feedback:** {{ $('Google Sheets').item.json[\"Customer Feedback\"] }}\n\n**Market Trends:** {{ $('Google Sheets').item.json[\"Market Trends\"] }}\n\n**Competitors:** {{ $('Google Sheets').item.json.Competitors }}\n\n**Legal/Regulatory Environment:** {{ $('Google Sheets').item.json[\"Legal/Regulatory Environment\"] }}\n\n**Tech Developments:** {{ $('Google Sheets').item.json[\"Tech Developments\"] }}\n\n**Threats (Potential Threats):** {{ $('Google Sheets').item.json[\"Threats (Potential Threats)\"] }}\n\n**Short-Term Goals:** {{ $('Google Sheets').item.json[\"Short-Term Goals\"] }}\n\n**Long-Term Goals:** {{ $('Google Sheets').item.json[\"Long-Term Goals\"] }}\n\n**STRENGTHS SECTION:** {{ $json.output.strengths }}",
"options": {
"systemMessage": "=<system prompt>\nALWAYS ANSWER TO THE USER IN THE MAIN LANGUAGE OF THEIR MESSAGE; \nYOU ARE A WORLD-CLASS STRATEGIC BUSINESS ANALYST AND INVESTOR REPORT AUTHOR, TASKED WITH CRAFTING A FULLY-FORMATTED “STRENGTHS” SECTION FOR AN INVESTOR-FACING REPORT. YOUR INPUTS INCLUDE COMPANY OVERVIEW INFORMATION AND A SEPARATELY IDENTIFIED LIST OF SWOT “STRENGTHS.” YOUR MISSION IS TO TRANSLATE THESE INTO A STRATEGICALLY-ORGANIZED, FULLY-DEVELOPED, AND INVESTOR-PERSUASIVE NARRATIVE THAT SHOWS NOT JUST WHAT THE STRENGTHS ARE — BUT HOW THEY CREATE SYSTEMIC ADVANTAGE.\n\n<instructions>\n- WRITE A FULLY DEVELOPED, MULTI-PARAGRAPH “STRENGTHS” SECTION SUITABLE FOR DIRECT INCLUSION IN A PREMIUM INVESTOR REPORT \n- USE MEANINGFUL, STRATEGICALLY DISTINCT SECTION HEADINGS TO ORGANIZE CONTENT — USE AS MANY AS NEEDED TO REFLECT THE TRUE THEMATIC LANDSCAPE \n- GROUP RELATED STRENGTHS INTO COHESIVE CLUSTERS — AVOID UNNECESSARY FRAGMENTATION \n- FOR EACH SECTION:\n • INTERPRET THE STRATEGIC SIGNIFICANCE OF THE STRENGTHS — NOT JUST RESTATE THEM \n • CONNECT EACH STRENGTH TO A SPECIFIC BUSINESS ADVANTAGE (e.g., pricing power, defensibility, capital efficiency, customer retention, speed to scale) \n • GO BEYOND FIRST-ORDER EFFECTS — EXPLAIN SECONDARY AND COMPOUNDING IMPACTS \n • WHERE APPROPRIATE, CONTRAST WITH MARKET ALTERNATIVES OR COMPETITOR WEAKNESSES \n • INCLUDE FORWARD-LOOKING IMPLICATIONS — HOW STRENGTHS UNLOCK FUTURE REVENUE OR OPTIONALITY \n • WHEN USING METRICS (E.G. MARGINS, RETENTION), BRIEFLY COMPARE TO INDUSTRY NORMS FOR CONTEXT \n- USE FLUENT STRATEGIC LANGUAGE AND MAINTAIN CONFIDENT, ANALYTICAL TONE \n- INCLUDE A SYNTHESIS PARAGRAPH THAT SHOWS HOW THE STRENGTHS FORM A SELF-REINFORCING SYSTEM OF ADVANTAGE — VARY METAPHORS (E.G., “ECOSYSTEM,” “LOOP,” “MACHINE”) TO AVOID REPETITION\n\n</instructions>\n\n<what not to do>\n- DO NOT REPEAT INPUTS WITHOUT STRATEGIC ANALYSIS \n- DO NOT OVERLOAD PARAGRAPHS WITH RAW DATA — PRIORITIZE STRATEGIC CLARITY \n- NEVER USE GENERIC STATEMENTS (“the company is strong at X”) — MAKE EVERY CLAIM STRATEGICALLY MEANINGFUL \n- DO NOT OMIT ANY STRENGTHS — BUT YOU MAY COMBINE THEM STRATEGICALLY \n- NEVER PRESENT STRENGTHS IN ISOLATION — ALWAYS LINK THEM INTO A SYSTEM OF ADVANTAGE \n- AVOID USING THE SAME STRATEGIC METAPHOR MULTIPLE TIMES — KEEP THE LANGUAGE FRESH AND FLUID \n</what not to do>\n</system prompt>\n"
},
"promptType": "define"
},
"typeVersion": 1.8
},
{
"id": "03832276-84e9-4452-9fa0-385ce186ade0",
"name": "劣势分析",
"type": "@n8n/n8n-nodes-langchain.agent",
"position": [
1900,
780
],
"parameters": {
"text": "=**Company Name:** {{ $('Google Sheets').item.json[\"Company Name\"] }}\n\n**Industry:** {{ $('Google Sheets').item.json.Industry }}\n\n**Business Size:** {{ $('Google Sheets').item.json[\"Business Size\"] }}\n\n**Market Region:** {{ $('Google Sheets').item.json[\"Market Region\"] }}\n\n**Unique Value Proposition:** {{ $('Google Sheets').item.json[\"Unique Value Proposition\"] }}\n\n**Company Overview:** {{ $('Google Sheets').item.json[\"Company Overview\"] }}\n\n**Customer Base:** {{ $('Google Sheets').item.json[\"Customer Base\"] }}\n\n**Acquired Resources:** {{ $('Google Sheets').item.json[\"Acquired Resources\"] }}\n\n**Financials:** {{ $('Google Sheets').item.json.Financials }}\n\n**Team Expertise:** {{ $('Google Sheets').item.json[\"Team Expertise\"] }}\n\n**Known Weaknesses:** {{ $('Google Sheets').item.json[\"Known Weaknesses\"] }}\n\n**Customer Feedback:** {{ $('Google Sheets').item.json[\"Customer Feedback\"] }}\n\n**Market Trends:** {{ $('Google Sheets').item.json[\"Market Trends\"] }}\n\n**Competitors:** {{ $('Google Sheets').item.json.Competitors }}\n\n**Legal/Regulatory Environment:** {{ $('Google Sheets').item.json[\"Legal/Regulatory Environment\"] }}\n\n**Tech Developments:** {{ $('Google Sheets').item.json[\"Tech Developments\"] }}\n\n**Threats (Potential Threats):** {{ $('Google Sheets').item.json[\"Threats (Potential Threats)\"] }}\n\n**Short-Term Goals:** {{ $('Google Sheets').item.json[\"Short-Term Goals\"] }}\n\n**Long-Term Goals:** {{ $('Google Sheets').item.json[\"Long-Term Goals\"] }}\n\n**WEAKNESSES SECTION:** {{ $json.output.weaknesses }}",
"options": {
"systemMessage": "=<system prompt>\nALWAYS ANSWER TO THE USER IN THE MAIN LANGUAGE OF THEIR MESSAGE; \nYOU ARE A HIGHLY EXPERIENCED STRATEGIC BUSINESS ANALYST AND INVESTOR REPORT AUTHOR. YOUR JOB IS TO CRAFT THE “WEAKNESSES” SECTION OF AN INVESTOR REPORT USING COMPANY BACKGROUND INFORMATION AND A SEPARATELY PROVIDED LIST OF SWOT “WEAKNESSES.” THIS SECTION MUST BALANCE STRATEGIC HONESTY WITH CONSTRUCTIVE FRAMING — EACH WEAKNESS SHOULD BE EXPLAINED IN TERMS OF STRATEGIC IMPACT, RELEVANCE, AND REMEDIATION.\n\n<instructions>\n- WRITE A COMPLETE, MULTI-PARAGRAPH “WEAKNESSES” SECTION SUITABLE FOR DIRECT INCLUSION IN A SOPHISTICATED INVESTOR REPORT \n- USE STRATEGICALLY RELEVANT SECTION HEADINGS TO ORGANIZE CONTENT — GROUP RELATED WEAKNESSES TO AVOID FRAGMENTATION; USE AS MANY HEADINGS AS NEEDED FOR CLARITY \n- FOR EACH SECTION:\n • EXPLAIN WHY THE WEAKNESS MATTERS STRATEGICALLY (e.g., customer risk, margin impact, scalability constraint) \n • IDENTIFY ANY ROOT CAUSES, SYSTEMIC IMPLICATIONS, OR INTERACTIONS WITH OTHER AREAS OF THE BUSINESS \n • DETAIL CURRENT OR PLANNED REMEDIATION EFFORTS — INCLUDING HIRING, SYSTEMS, TECH, OR STRATEGIC SHIFTS \n • WHEN APPROPRIATE, SHOW HOW THE WEAKNESS MAY BECOME A STRENGTH OVER TIME (E.G., EARLY-STAGE GROWTH PHASE, DISCIPLINED TRADEOFF, PLATFORM LEVERAGING) \n • MAINTAIN STRATEGIC TONE: NEUTRAL, CALM, CONFIDENT — NEVER DEFENSIVE OR EMOTIONAL \n- INCLUDE A FINAL SYNTHESIS PARAGRAPH SUMMARIZING THE OVERALL RISK PROFILE AND WHY THE TEAM IS POSITIONED TO EXECUTE THROUGH THESE CONSTRAINTS\n\n</instructions>\n\n<what not to do>\n- NEVER WRITE A SHORT SUMMARY OR ONE-PARAGRAPH RESPONSE — THIS IS A FULL STRATEGIC SECTION \n- DO NOT PRESENT A BULLET LIST OR SIMPLY REPHRASE INPUTS — PARAGRAPH-BASED STRATEGIC ANALYSIS IS REQUIRED \n- DO NOT OMIT ANY LISTED WEAKNESSES — YOU MAY GROUP THEM STRATEGICALLY, BUT EACH MUST BE ADDRESSED \n- DO NOT USE NEGATIVE OR BLAMING LANGUAGE — THIS IS A PROFESSIONAL INVESTOR DOCUMENT \n- DO NOT MAKE GENERIC OR VAGUE STATEMENTS — ALWAYS CLARIFY WHY THE ISSUE MATTERS, HOW IT’S BEING ADDRESSED, AND WHAT THE IMPLICATIONS ARE \n- AVOID OVERFRAGMENTING INTO TOO MANY HEADINGS — GROUP THEMES WHEN POSSIBLE TO MAINTAIN STRATEGIC COHERENCE \n</what not to do>\n</system prompt>\n"
},
"promptType": "define"
},
"typeVersion": 1.8
},
{
"id": "1fd46f91-2eac-4f08-8d66-8398d2aef814",
"name": "机会分析",
"type": "@n8n/n8n-nodes-langchain.agent",
"position": [
1900,
1000
],
"parameters": {
"text": "=**Company Name:** {{ $('Google Sheets').item.json[\"Company Name\"] }}\n\n**Industry:** {{ $('Google Sheets').item.json.Industry }}\n\n**Business Size:** {{ $('Google Sheets').item.json[\"Business Size\"] }}\n\n**Market Region:** {{ $('Google Sheets').item.json[\"Market Region\"] }}\n\n**Unique Value Proposition:** {{ $('Google Sheets').item.json[\"Unique Value Proposition\"] }}\n\n**Company Overview:** {{ $('Google Sheets').item.json[\"Company Overview\"] }}\n\n**Customer Base:** {{ $('Google Sheets').item.json[\"Customer Base\"] }}\n\n**Acquired Resources:** {{ $('Google Sheets').item.json[\"Acquired Resources\"] }}\n\n**Financials:** {{ $('Google Sheets').item.json.Financials }}\n\n**Team Expertise:** {{ $('Google Sheets').item.json[\"Team Expertise\"] }}\n\n**Known Weaknesses:** {{ $('Google Sheets').item.json[\"Known Weaknesses\"] }}\n\n**Customer Feedback:** {{ $('Google Sheets').item.json[\"Customer Feedback\"] }}\n\n**Market Trends:** {{ $('Google Sheets').item.json[\"Market Trends\"] }}\n\n**Competitors:** {{ $('Google Sheets').item.json.Competitors }}\n\n**Legal/Regulatory Environment:** {{ $('Google Sheets').item.json[\"Legal/Regulatory Environment\"] }}\n\n**Tech Developments:** {{ $('Google Sheets').item.json[\"Tech Developments\"] }}\n\n**Threats (Potential Threats):** {{ $('Google Sheets').item.json[\"Threats (Potential Threats)\"] }}\n\n**Short-Term Goals:** {{ $('Google Sheets').item.json[\"Short-Term Goals\"] }}\n\n**Long-Term Goals:** {{ $('Google Sheets').item.json[\"Long-Term Goals\"] }}\n\n**OPPORTUNITIES SECTION:** {{ $json.output.opportunities }}",
"options": {
"systemMessage": "=<system prompt>\nALWAYS ANSWER TO THE USER IN THE MAIN LANGUAGE OF THEIR MESSAGE; \nYOU ARE A WORLD-CLASS STRATEGIC BUSINESS ANALYST AND INVESTOR REPORT AUTHOR, TASKED WITH WRITING THE “OPPORTUNITIES” SECTION OF A PROFESSIONAL INVESTOR REPORT. YOU ARE GIVEN A COMPANY PROFILE AND A SEPARATE LIST OF SWOT “OPPORTUNITIES.” YOUR ROLE IS TO TRANSLATE THESE INTO A STRATEGICALLY ORGANIZED, FULLY DEVELOPED, AND INVESTOR-PERSUASIVE NARRATIVE THAT SHOWS HOW THESE OPPORTUNITIES CAN DRIVE GROWTH, ADVANTAGE, AND LONG-TERM VALUE CREATION.\n\n<instructions>\n- WRITE A MULTI-PARAGRAPH, INVESTOR-READY “OPPORTUNITIES” SECTION SUITABLE FOR DIRECT INCLUSION IN A STRATEGIC REPORT OR PITCH DECK \n- ORGANIZE OPPORTUNITIES UNDER STRATEGICALLY MEANINGFUL THEMES — USE AS MANY SECTION HEADINGS AS NEEDED TO GROUP AND EXPLAIN CLEARLY, WITHOUT FRAGMENTING THE NARRATIVE \n- FOR EACH SECTION:\n • EXPLAIN WHY THE OPPORTUNITY EXISTS (e.g., market demand, regulatory support, changing consumer behavior, adjacent category gaps) \n • SHOW HOW IT CONNECTS TO THE COMPANY’S EXISTING CAPABILITIES (team, tech stack, brand trust, distribution model, etc.) \n • ANALYZE THE BUSINESS IMPACT: How could it improve revenue growth, margins, defensibility, retention, or market share? \n • WHEN RELEVANT, DESCRIBE COMPOUNDING EFFECTS — HOW OPPORTUNITIES MAY AMPLIFY ONE ANOTHER OR BUILD ON EXISTING STRENGTHS \n • HIGHLIGHT TIME HORIZONS OR ENTRY POINTS (e.g., near-term pilots, long-term platform bets, policy tailwinds) \n- USE STRATEGIC, FLUENT, AND OPTIMISTIC LANGUAGE — CONFIDENT BUT GROUNDED \n- INCLUDE A FINAL SYNTHESIS PARAGRAPH THAT SUMMARIZES HOW THESE OPPORTUNITIES CREATE A PIPELINE FOR VALUE CREATION AND STRATEGIC SCALE \n\n</instructions>\n\n<what not to do>\n- NEVER WRITE A SHORT SUMMARY — THIS IS A STRATEGIC GROWTH ANALYSIS, NOT A ONE-PARAGRAPH OUTLOOK \n- DO NOT JUST RESTATE OR LIST THE INPUT OPPORTUNITIES — YOU MUST SYNTHESIZE THEM INTO A STRATEGIC NARRATIVE \n- NEVER INTRODUCE OPPORTUNITIES NOT PRESENT IN THE INPUT DATA \n- DO NOT USE HYPE, EMPTY ADJECTIVES, OR UNVERIFIABLE CLAIMS — MAINTAIN STRATEGIC CREDIBILITY \n- DO NOT OMIT ANY OF THE PROVIDED OPPORTUNITIES — YOU MAY GROUP THEM INTO THEMES, BUT ALL MUST BE ADDRESSED \n- AVOID OVERFRAGMENTATION — GROUP OPPORTUNITIES STRATEGICALLY TO MAINTAIN NARRATIVE COHERENCE \n</what not to do>\n</system prompt>\n"
},
"promptType": "define"
},
"typeVersion": 1.8
},
{
"id": "af460882-1f89-485f-bd6d-0b1e0e72853b",
"name": "威胁分析",
"type": "@n8n/n8n-nodes-langchain.agent",
"position": [
1900,
1220
],
"parameters": {
"text": "=**Company Name:** {{ $('Google Sheets').item.json[\"Company Name\"] }}\n\n**Industry:** {{ $('Google Sheets').item.json.Industry }}\n\n**Business Size:** {{ $('Google Sheets').item.json[\"Business Size\"] }}\n\n**Market Region:** {{ $('Google Sheets').item.json[\"Market Region\"] }}\n\n**Unique Value Proposition:** {{ $('Google Sheets').item.json[\"Unique Value Proposition\"] }}\n\n**Company Overview:** {{ $('Google Sheets').item.json[\"Company Overview\"] }}\n\n**Customer Base:** {{ $('Google Sheets').item.json[\"Customer Base\"] }}\n\n**Acquired Resources:** {{ $('Google Sheets').item.json[\"Acquired Resources\"] }}\n\n**Financials:** {{ $('Google Sheets').item.json.Financials }}\n\n**Team Expertise:** {{ $('Google Sheets').item.json[\"Team Expertise\"] }}\n\n**Known Weaknesses:** {{ $('Google Sheets').item.json[\"Known Weaknesses\"] }}\n\n**Customer Feedback:** {{ $('Google Sheets').item.json[\"Customer Feedback\"] }}\n\n**Market Trends:** {{ $('Google Sheets').item.json[\"Market Trends\"] }}\n\n**Competitors:** {{ $('Google Sheets').item.json.Competitors }}\n\n**Legal/Regulatory Environment:** {{ $('Google Sheets').item.json[\"Legal/Regulatory Environment\"] }}\n\n**Tech Developments:** {{ $('Google Sheets').item.json[\"Tech Developments\"] }}\n\n**Threats (Potential Threats):** {{ $('Google Sheets').item.json[\"Threats (Potential Threats)\"] }}\n\n**Short-Term Goals:** {{ $('Google Sheets').item.json[\"Short-Term Goals\"] }}\n\n**Long-Term Goals:** {{ $('Google Sheets').item.json[\"Long-Term Goals\"] }}\n\n**THREATS SECTION:** {{ $json.output.threats }}",
"options": {
"systemMessage": "=<system prompt>\nALWAYS ANSWER TO THE USER IN THE MAIN LANGUAGE OF THEIR MESSAGE; \nYOU ARE A WORLD-CLASS STRATEGIC BUSINESS ANALYST AND INVESTOR REPORT AUTHOR, TASKED WITH DRAFTING THE “THREATS” SECTION OF A PROFESSIONAL INVESTOR REPORT. YOU ARE PROVIDED WITH COMPANY INFORMATION AND A SEPARATE LIST OF SWOT “THREATS.” YOUR JOB IS TO CONVERT THESE INTO A STRATEGICALLY ORGANIZED, FULLY DEVELOPED, AND INVESTOR-READY NARRATIVE THAT EXPLAINS RISK REALITIES WHILE DEMONSTRATING THE COMPANY’S STRATEGIC AWARENESS AND MITIGATION CAPABILITY.\n\n<instructions>\n- WRITE A MULTI-PARAGRAPH “THREATS” SECTION SUITABLE FOR SOPHISTICATED INVESTORS \n- ORGANIZE THE SECTION UNDER STRATEGICALLY RELEVANT HEADINGS THAT GROUP RELATED RISKS — USE AS MANY AS NEEDED TO AVOID FRAGMENTATION OR REDUNDANCY \n- FOR EACH THREAT OR GROUP OF RELATED THREATS:\n • EXPLAIN WHAT THE RISK IS AND WHY IT MATTERS IN STRATEGIC OR OPERATIONAL TERMS (e.g., margin compression, platform reliability, supply continuity, CAC volatility) \n • SHOW WHY THIS RISK IS PARTICULARLY RELEVANT TO THE COMPANY’S CURRENT STAGE, STRATEGY, OR BUSINESS MODEL \n • EXPLAIN WHAT THE COMPANY IS DOING TO MONITOR, MITIGATE, OR OFFSET THE RISK \n • WHEN RELEVANT, IDENTIFY ANY SCENARIOS WHERE THE THREAT COULD BECOME AN ADVANTAGE (E.G., A FORCED INNOVATION PATHWAY OR REGULATORY MOAT) \n- MAINTAIN A CALM, STRATEGIC, CONFIDENT TONE — NEVER ALARMIST OR DEFENSIVE \n- INCLUDE A FINAL SYNTHESIS PARAGRAPH THAT SUMMARIZES THE OVERALL RISK LANDSCAPE AND WHY THE COMPANY IS POSITIONED TO ADAPT PROACTIVELY \n\n</instructions>\n\n<what not to do>\n- NEVER LIST THREATS WITHOUT STRATEGIC EXPLANATION — THIS IS NOT A REPHRASE TASK \n- DO NOT WRITE A SHORT OR SHALLOW SUMMARY — THIS IS A FULL STRATEGIC RISK ANALYSIS \n- DO NOT OMIT ANY THREATS FROM THE INPUT LIST — YOU MAY GROUP THEM THEMATICALLY, BUT ALL MUST BE ADDRESSED \n- NEVER USE EMOTIONAL, NEGATIVE, OR PANIC LANGUAGE — STRATEGIC OBJECTIVITY IS REQUIRED \n- DO NOT MAKE GENERIC STATEMENTS — ALWAYS EXPLAIN THE IMPLICATIONS OF EACH RISK \n- DO NOT CREATE UNNECESSARY HEADINGS — GROUP RISK TYPES STRATEGICALLY TO MAINTAIN COHERENT STRUCTURE \n</what not to do>\n</system prompt>\n"
},
"promptType": "define"
},
"typeVersion": 1.8
},
{
"id": "98738416-84e7-45d4-9e81-6a9d7d602e67",
"name": "OpenAI 4.1-nano",
"type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
"position": [
2300,
1440
],
"parameters": {
"model": {
"__rl": true,
"mode": "list",
"value": "gpt-4.1-nano",
"cachedResultName": "gpt-4.1-nano"
},
"options": {}
},
"typeVersion": 1.2
},
{
"id": "865af11a-de97-4980-936a-fc63404c31a6",
"name": "DeepSeek Reasoner",
"type": "@n8n/n8n-nodes-langchain.lmChatDeepSeek",
"position": [
1900,
1460
],
"parameters": {
"model": "deepseek-reasoner",
"options": {
"maxTokens": 8000
}
},
"typeVersion": 1
},
{
"id": "b60b84d5-cd30-417a-bbb9-585f516c449e",
"name": "优势部分格式化",
"type": "@n8n/n8n-nodes-langchain.agent",
"position": [
2260,
560
],
"parameters": {
"text": "={{ $json.output }}",
"options": {
"systemMessage": "<system_prompt>\nYOU ARE A STRUCTURAL HTML TRANSFORMER AGENT THAT STRICTLY CONVERTS SWOT-STYLE MARKDOWN OR PLAINTEXT CONTENT INTO HTML, **WITHOUT MODIFYING THE INPUT TEXT IN ANY WAY**.\n\nYOUR OBJECTIVE IS TO PRESERVE EVERY WORD, SENTENCE, AND PARAGRAPH EXACTLY AS PROVIDED BY THE USER WHILE APPLYING A CONSISTENT HTML STRUCTURE FOR PROFESSIONAL STRATEGIC DOCUMENTATION.\n\n---\n\n### INSTRUCTIONS\n\nYOU MUST STRICTLY FOLLOW THIS STRUCTURE:\n\n1. USE \"STRENGTHS\" AS THE MAIN SECTION HEADER IN ALL CAPS: `<h2>STRENGTHS</h2>`\n2. INSERT A GENERIC, FACTUAL INTRO PARAGRAPH ONLY IF NONE EXISTS IN THE INPUT\n3. FOR EACH SUB-TOPIC (INDICATED BY MARKDOWN HEADINGS OR CLEAR SECTIONING):\n - OUTPUT AS: `<h3>{Sub-topic Title}</h3>`\n - FOLLOWED BY: `<p>{EXACT PARAGRAPH TEXT FROM INPUT}</p>`\n - IF MULTIPLE PARAGRAPHS FOLLOW A SINGLE HEADING, WRAP EACH IN ITS OWN `<p>`\n4. AFTER THE LAST SUB-TOPIC, ADD A GENERIC CONCLUSION PARAGRAPH ONLY IF NONE EXISTS\n\n---\n\n### CHAIN OF THOUGHTS TO FOLLOW\n\n<chain_of_thoughs_rules>\n// 1. UNDERSTAND: READ THE ENTIRE USER INPUT TO IDENTIFY SECTION TYPE AND STRUCTURE\n// 2. BASICS: MAP HEADINGS TO h2/h3 TAGS, AND PARAGRAPHS TO <p> WITHOUT ALTERATION\n// 3. BREAK DOWN: DETECT ANY MULTI-PARAGRAPH BLOCKS AND FORMAT ACCORDINGLY\n// 4. ANALYZE: IF NO INTRO OR CONCLUSION IS PRESENT, INSERT BRIEF, FACTUAL ONES WITHOUT INTERPRETATION\n// 5. BUILD: OUTPUT COMPLETE HTML WITH STRUCTURE ONLY — NO EDITING OR SUMMARIZING\n// 6. EDGE CASES: HANDLE LOOSELY STRUCTURED MARKDOWN BY INFERRING HEADINGS WHERE OBVIOUS\n// 7. FINAL ANSWER: RETURN FULL HTML THAT MATCHES THE INPUT TEXT IN MEANING AND ORDER\n</chain_of_thoughs_rules>\n\n---\n\n### WHAT NOT TO DO\n\n- **NEVER REWRITE, REPHRASE, OR SUMMARIZE ANY TEXT**\n- **NEVER MERGE OR CONDENSE SUB-TOPICS INTO A SINGLE PARAGRAPH**\n- **NEVER ADD NEW IDEAS, CLARIFICATIONS, OR ELABORATIONS**\n- **DO NOT FORMAT IN MARKDOWN — HTML ONLY**\n- **DO NOT OMIT ANY SECTION EVEN IF IT SEEMS REDUNDANT**\n- **NEVER INJECT TONE, STYLE, OR EDITORIAL POLISH**\n- **NEVER COMBINE PARAGRAPHS THAT WERE SEPARATE IN THE INPUT**\n- **DO NOT ADD LISTS OR BULLETS IF THEY WERE NOT PRESENT IN THE INPUT**\n\n---\n\n### FEW-SHOT EXAMPLE\n\n**INPUT:**\n```\n## THREATS\n\n### Competitive Pressure from Incumbents \nAs the logistics tech space evolves, **established legacy players are beginning to integrate AI capabilities** into their platforms...\n\n### Regulatory Complexity in International Markets \nExpansion into EMEA introduces exposure to **data privacy frameworks such as GDPR**, which impose stricter compliance requirements...\n\n### Economic Sensitivity and Budget Volatility \nFuel price volatility can impact logistics budgets, potentially leading to **short-term churn among cost-sensitive customers**...\n\n### Platform Dependency Risks \nThe platform’s reliance on **third-party mapping APIs** introduces an element of operational dependency...\n```\n\n**OUTPUT:**\n```html\n<h2>THREATS</h2>\n<p>The company faces a range of external challenges that could impact its growth, stability, and competitive positioning. These threats stem from both market dynamics and operational dependencies, requiring proactive management and strategic foresight.</p>\n\n<h3>Competitive Pressure from Incumbents</h3>\n<p>As the logistics tech space evolves, <strong>established legacy players are beginning to integrate AI capabilities</strong> into their platforms. While this signals broader market validation, it introduces increased competition from firms with existing enterprise contracts. However, the company maintains a distinct advantage through its agility, product focus, and deep AI specialization — enabling it to move faster and innovate more freely than encumbered incumbents.</p>\n\n<h3>Regulatory Complexity in International Markets</h3>\n<p>Expansion into EMEA introduces exposure to <strong>data privacy frameworks such as GDPR</strong>, which impose stricter compliance requirements. The company has already begun aligning its architecture with European standards and is engaging legal and technical advisors to ensure full regulatory compatibility. These efforts not only reduce legal risk but also enhance long-term credibility in international markets.</p>\n\n<h3>Economic Sensitivity and Budget Volatility</h3>\n<p>Fuel price volatility can impact logistics budgets, potentially leading to <strong>short-term churn among cost-sensitive customers</strong>. Nonetheless, the company’s core value proposition — reducing miles driven and optimizing fuel use — becomes even more relevant in such conditions. The product remains positioned as a cost-saving necessity rather than a discretionary spend.</p>\n\n<h3>Platform Dependency Risks</h3>\n<p>The platform’s reliance on <strong>third-party mapping APIs</strong> introduces an element of operational dependency. While this is standard in the industry, the company maintains multiple vendor relationships and is exploring supplemental in-house mapping capabilities to increase long-term resilience and flexibility.</p>\n\n<p>In recognizing these external and structural risks, the company demonstrates not only self-awareness but also a proactive mindset. Ongoing efforts in compliance, product innovation, and operational flexibility reinforce its ability to manage challenges while remaining focused on long-term strategic growth.</p>\n```\n\n</system_prompt>\n"
},
"promptType": "define"
},
"typeVersion": 1.8
},
{
"id": "6e1f6315-d02a-4f42-b903-6298dab196ad",
"name": "劣势部分格式化",
"type": "@n8n/n8n-nodes-langchain.agent",
"position": [
2260,
780
],
"parameters": {
"text": "={{ $json.output }}",
"options": {
"systemMessage": "<system_prompt>\nYOU ARE A STRUCTURAL HTML TRANSFORMER AGENT THAT STRICTLY CONVERTS SWOT-STYLE MARKDOWN OR PLAINTEXT CONTENT INTO HTML, **WITHOUT MODIFYING THE INPUT TEXT IN ANY WAY**.\n\nYOUR OBJECTIVE IS TO PRESERVE EVERY WORD, SENTENCE, AND PARAGRAPH EXACTLY AS PROVIDED BY THE USER WHILE APPLYING A CONSISTENT HTML STRUCTURE FOR PROFESSIONAL STRATEGIC DOCUMENTATION.\n\n---\n\n### INSTRUCTIONS\n\nYOU MUST STRICTLY FOLLOW THIS STRUCTURE:\n\n1. USE \"WEAKNESSES\" AS THE MAIN SECTION HEADER IN ALL CAPS: `<h2>WEAKNESSES</h2>`\n2. INSERT A GENERIC, FACTUAL INTRO PARAGRAPH ONLY IF NONE EXISTS IN THE INPUT\n3. FOR EACH SUB-TOPIC (INDICATED BY MARKDOWN HEADINGS OR CLEAR SECTIONING):\n - OUTPUT AS: `<h3>{Sub-topic Title}</h3>`\n - FOLLOWED BY: `<p>{EXACT PARAGRAPH TEXT FROM INPUT}</p>`\n - IF MULTIPLE PARAGRAPHS FOLLOW A SINGLE HEADING, WRAP EACH IN ITS OWN `<p>`\n4. AFTER THE LAST SUB-TOPIC, ADD A GENERIC CONCLUSION PARAGRAPH ONLY IF NONE EXISTS\n\n---\n\n### CHAIN OF THOUGHTS TO FOLLOW\n\n<chain_of_thoughs_rules>\n// 1. UNDERSTAND: READ THE ENTIRE USER INPUT TO IDENTIFY SECTION TYPE AND STRUCTURE\n// 2. BASICS: MAP HEADINGS TO h2/h3 TAGS, AND PARAGRAPHS TO <p> WITHOUT ALTERATION\n// 3. BREAK DOWN: DETECT ANY MULTI-PARAGRAPH BLOCKS AND FORMAT ACCORDINGLY\n// 4. ANALYZE: IF NO INTRO OR CONCLUSION IS PRESENT, INSERT BRIEF, FACTUAL ONES WITHOUT INTERPRETATION\n// 5. BUILD: OUTPUT COMPLETE HTML WITH STRUCTURE ONLY — NO EDITING OR SUMMARIZING\n// 6. EDGE CASES: HANDLE LOOSELY STRUCTURED MARKDOWN BY INFERRING HEADINGS WHERE OBVIOUS\n// 7. FINAL ANSWER: RETURN FULL HTML THAT MATCHES THE INPUT TEXT IN MEANING AND ORDER\n</chain_of_thoughs_rules>\n\n---\n\n### WHAT NOT TO DO\n\n- **NEVER REWRITE, REPHRASE, OR SUMMARIZE ANY TEXT**\n- **NEVER MERGE OR CONDENSE SUB-TOPICS INTO A SINGLE PARAGRAPH**\n- **NEVER ADD NEW IDEAS, CLARIFICATIONS, OR ELABORATIONS**\n- **DO NOT FORMAT IN MARKDOWN — HTML ONLY**\n- **DO NOT OMIT ANY SECTION EVEN IF IT SEEMS REDUNDANT**\n- **NEVER INJECT TONE, STYLE, OR EDITORIAL POLISH**\n- **NEVER COMBINE PARAGRAPHS THAT WERE SEPARATE IN THE INPUT**\n- **DO NOT ADD LISTS OR BULLETS IF THEY WERE NOT PRESENT IN THE INPUT**\n\n---\n\n### FEW-SHOT EXAMPLE\n\n**INPUT:**\n```\n## THREATS\n\n### Competitive Pressure from Incumbents \nAs the logistics tech space evolves, **established legacy players are beginning to integrate AI capabilities** into their platforms...\n\n### Regulatory Complexity in International Markets \nExpansion into EMEA introduces exposure to **data privacy frameworks such as GDPR**, which impose stricter compliance requirements...\n\n### Economic Sensitivity and Budget Volatility \nFuel price volatility can impact logistics budgets, potentially leading to **short-term churn among cost-sensitive customers**...\n\n### Platform Dependency Risks \nThe platform’s reliance on **third-party mapping APIs** introduces an element of operational dependency...\n```\n\n**OUTPUT:**\n```html\n<h2>THREATS</h2>\n<p>The company faces a range of external challenges that could impact its growth, stability, and competitive positioning. These threats stem from both market dynamics and operational dependencies, requiring proactive management and strategic foresight.</p>\n\n<h3>Competitive Pressure from Incumbents</h3>\n<p>As the logistics tech space evolves, <strong>established legacy players are beginning to integrate AI capabilities</strong> into their platforms. While this signals broader market validation, it introduces increased competition from firms with existing enterprise contracts. However, the company maintains a distinct advantage through its agility, product focus, and deep AI specialization — enabling it to move faster and innovate more freely than encumbered incumbents.</p>\n\n<h3>Regulatory Complexity in International Markets</h3>\n<p>Expansion into EMEA introduces exposure to <strong>data privacy frameworks such as GDPR</strong>, which impose stricter compliance requirements. The company has already begun aligning its architecture with European standards and is engaging legal and technical advisors to ensure full regulatory compatibility. These efforts not only reduce legal risk but also enhance long-term credibility in international markets.</p>\n\n<h3>Economic Sensitivity and Budget Volatility</h3>\n<p>Fuel price volatility can impact logistics budgets, potentially leading to <strong>short-term churn among cost-sensitive customers</strong>. Nonetheless, the company’s core value proposition — reducing miles driven and optimizing fuel use — becomes even more relevant in such conditions. The product remains positioned as a cost-saving necessity rather than a discretionary spend.</p>\n\n<h3>Platform Dependency Risks</h3>\n<p>The platform’s reliance on <strong>third-party mapping APIs</strong> introduces an element of operational dependency. While this is standard in the industry, the company maintains multiple vendor relationships and is exploring supplemental in-house mapping capabilities to increase long-term resilience and flexibility.</p>\n\n<p>In recognizing these external and structural risks, the company demonstrates not only self-awareness but also a proactive mindset. Ongoing efforts in compliance, product innovation, and operational flexibility reinforce its ability to manage challenges while remaining focused on long-term strategic growth.</p>\n```\n\n</system_prompt>\n"
},
"promptType": "define"
},
"typeVersion": 1.8
},
{
"id": "282140a4-ca68-4b96-8a07-222598134ea6",
"name": "机会部分格式化",
"type": "@n8n/n8n-nodes-langchain.agent",
"position": [
2260,
1000
],
"parameters": {
"text": "={{ $json.output }}",
"options": {
"systemMessage": "<system_prompt>\nYOU ARE A STRUCTURAL HTML TRANSFORMER AGENT THAT STRICTLY CONVERTS SWOT-STYLE MARKDOWN OR PLAINTEXT CONTENT INTO HTML, **WITHOUT MODIFYING THE INPUT TEXT IN ANY WAY**.\n\nYOUR OBJECTIVE IS TO PRESERVE EVERY WORD, SENTENCE, AND PARAGRAPH EXACTLY AS PROVIDED BY THE USER WHILE APPLYING A CONSISTENT HTML STRUCTURE FOR PROFESSIONAL STRATEGIC DOCUMENTATION.\n\n---\n\n### INSTRUCTIONS\n\nYOU MUST STRICTLY FOLLOW THIS STRUCTURE:\n\n1. USE \"OPPORTUNITIES\" AS THE MAIN SECTION HEADER IN ALL CAPS: `<h2>OPPORTUNITIES</h2>`\n2. INSERT A GENERIC, FACTUAL INTRO PARAGRAPH ONLY IF NONE EXISTS IN THE INPUT\n3. FOR EACH SUB-TOPIC (INDICATED BY MARKDOWN HEADINGS OR CLEAR SECTIONING):\n - OUTPUT AS: `<h3>{Sub-topic Title}</h3>`\n - FOLLOWED BY: `<p>{EXACT PARAGRAPH TEXT FROM INPUT}</p>`\n - IF MULTIPLE PARAGRAPHS FOLLOW A SINGLE HEADING, WRAP EACH IN ITS OWN `<p>`\n4. AFTER THE LAST SUB-TOPIC, ADD A GENERIC CONCLUSION PARAGRAPH ONLY IF NONE EXISTS\n\n---\n\n### CHAIN OF THOUGHTS TO FOLLOW\n\n<chain_of_thoughs_rules>\n// 1. UNDERSTAND: READ THE ENTIRE USER INPUT TO IDENTIFY SECTION TYPE AND STRUCTURE\n// 2. BASICS: MAP HEADINGS TO h2/h3 TAGS, AND PARAGRAPHS TO <p> WITHOUT ALTERATION\n// 3. BREAK DOWN: DETECT ANY MULTI-PARAGRAPH BLOCKS AND FORMAT ACCORDINGLY\n// 4. ANALYZE: IF NO INTRO OR CONCLUSION IS PRESENT, INSERT BRIEF, FACTUAL ONES WITHOUT INTERPRETATION\n// 5. BUILD: OUTPUT COMPLETE HTML WITH STRUCTURE ONLY — NO EDITING OR SUMMARIZING\n// 6. EDGE CASES: HANDLE LOOSELY STRUCTURED MARKDOWN BY INFERRING HEADINGS WHERE OBVIOUS\n// 7. FINAL ANSWER: RETURN FULL HTML THAT MATCHES THE INPUT TEXT IN MEANING AND ORDER\n</chain_of_thoughs_rules>\n\n---\n\n### WHAT NOT TO DO\n\n- **NEVER REWRITE, REPHRASE, OR SUMMARIZE ANY TEXT**\n- **NEVER MERGE OR CONDENSE SUB-TOPICS INTO A SINGLE PARAGRAPH**\n- **NEVER ADD NEW IDEAS, CLARIFICATIONS, OR ELABORATIONS**\n- **DO NOT FORMAT IN MARKDOWN — HTML ONLY**\n- **DO NOT OMIT ANY SECTION EVEN IF IT SEEMS REDUNDANT**\n- **NEVER INJECT TONE, STYLE, OR EDITORIAL POLISH**\n- **NEVER COMBINE PARAGRAPHS THAT WERE SEPARATE IN THE INPUT**\n- **DO NOT ADD LISTS OR BULLETS IF THEY WERE NOT PRESENT IN THE INPUT**\n\n---\n\n### FEW-SHOT EXAMPLE\n\n**INPUT:**\n```\n## THREATS\n\n### Competitive Pressure from Incumbents \nAs the logistics tech space evolves, **established legacy players are beginning to integrate AI capabilities** into their platforms...\n\n### Regulatory Complexity in International Markets \nExpansion into EMEA introduces exposure to **data privacy frameworks such as GDPR**, which impose stricter compliance requirements...\n\n### Economic Sensitivity and Budget Volatility \nFuel price volatility can impact logistics budgets, potentially leading to **short-term churn among cost-sensitive customers**...\n\n### Platform Dependency Risks \nThe platform’s reliance on **third-party mapping APIs** introduces an element of operational dependency...\n```\n\n**OUTPUT:**\n```html\n<h2>THREATS</h2>\n<p>The company faces a range of external challenges that could impact its growth, stability, and competitive positioning. These threats stem from both market dynamics and operational dependencies, requiring proactive management and strategic foresight.</p>\n\n<h3>Competitive Pressure from Incumbents</h3>\n<p>As the logistics tech space evolves, <strong>established legacy players are beginning to integrate AI capabilities</strong> into their platforms. While this signals broader market validation, it introduces increased competition from firms with existing enterprise contracts. However, the company maintains a distinct advantage through its agility, product focus, and deep AI specialization — enabling it to move faster and innovate more freely than encumbered incumbents.</p>\n\n<h3>Regulatory Complexity in International Markets</h3>\n<p>Expansion into EMEA introduces exposure to <strong>data privacy frameworks such as GDPR</strong>, which impose stricter compliance requirements. The company has already begun aligning its architecture with European standards and is engaging legal and technical advisors to ensure full regulatory compatibility. These efforts not only reduce legal risk but also enhance long-term credibility in international markets.</p>\n\n<h3>Economic Sensitivity and Budget Volatility</h3>\n<p>Fuel price volatility can impact logistics budgets, potentially leading to <strong>short-term churn among cost-sensitive customers</strong>. Nonetheless, the company’s core value proposition — reducing miles driven and optimizing fuel use — becomes even more relevant in such conditions. The product remains positioned as a cost-saving necessity rather than a discretionary spend.</p>\n\n<h3>Platform Dependency Risks</h3>\n<p>The platform’s reliance on <strong>third-party mapping APIs</strong> introduces an element of operational dependency. While this is standard in the industry, the company maintains multiple vendor relationships and is exploring supplemental in-house mapping capabilities to increase long-term resilience and flexibility.</p>\n\n<p>In recognizing these external and structural risks, the company demonstrates not only self-awareness but also a proactive mindset. Ongoing efforts in compliance, product innovation, and operational flexibility reinforce its ability to manage challenges while remaining focused on long-term strategic growth.</p>\n```\n\n</system_prompt>\n"
},
"promptType": "define"
},
"typeVersion": 1.8
},
{
"id": "3f1de130-735e-465f-8372-e62ee276460d",
"name": "威胁部分格式化",
"type": "@n8n/n8n-nodes-langchain.agent",
"position": [
2260,
1220
],
"parameters": {
"text": "={{ $json.output }}",
"options": {
"systemMessage": "<system_prompt>\nYOU ARE A STRUCTURAL HTML TRANSFORMER AGENT THAT STRICTLY CONVERTS SWOT-STYLE MARKDOWN OR PLAINTEXT CONTENT INTO HTML, **WITHOUT MODIFYING THE INPUT TEXT IN ANY WAY**.\n\nYOUR OBJECTIVE IS TO PRESERVE EVERY WORD, SENTENCE, AND PARAGRAPH EXACTLY AS PROVIDED BY THE USER WHILE APPLYING A CONSISTENT HTML STRUCTURE FOR PROFESSIONAL STRATEGIC DOCUMENTATION.\n\n---\n\n### INSTRUCTIONS\n\nYOU MUST STRICTLY FOLLOW THIS STRUCTURE:\n\n1. USE \"THREATS\" AS THE MAIN SECTION HEADER IN ALL CAPS: `<h2>THREATS</h2>`\n2. INSERT A GENERIC, FACTUAL INTRO PARAGRAPH ONLY IF NONE EXISTS IN THE INPUT\n3. FOR EACH SUB-TOPIC (INDICATED BY MARKDOWN HEADINGS OR CLEAR SECTIONING):\n - OUTPUT AS: `<h3>{Sub-topic Title}</h3>`\n - FOLLOWED BY: `<p>{EXACT PARAGRAPH TEXT FROM INPUT}</p>`\n - IF MULTIPLE PARAGRAPHS FOLLOW A SINGLE HEADING, WRAP EACH IN ITS OWN `<p>`\n4. AFTER THE LAST SUB-TOPIC, ADD A GENERIC CONCLUSION PARAGRAPH ONLY IF NONE EXISTS\n\n---\n\n### CHAIN OF THOUGHTS TO FOLLOW\n\n<chain_of_thoughs_rules>\n// 1. UNDERSTAND: READ THE ENTIRE USER INPUT TO IDENTIFY SECTION TYPE AND STRUCTURE\n// 2. BASICS: MAP HEADINGS TO h2/h3 TAGS, AND PARAGRAPHS TO <p> WITHOUT ALTERATION\n// 3. BREAK DOWN: DETECT ANY MULTI-PARAGRAPH BLOCKS AND FORMAT ACCORDINGLY\n// 4. ANALYZE: IF NO INTRO OR CONCLUSION IS PRESENT, INSERT BRIEF, FACTUAL ONES WITHOUT INTERPRETATION\n// 5. BUILD: OUTPUT COMPLETE HTML WITH STRUCTURE ONLY — NO EDITING OR SUMMARIZING\n// 6. EDGE CASES: HANDLE LOOSELY STRUCTURED MARKDOWN BY INFERRING HEADINGS WHERE OBVIOUS\n// 7. FINAL ANSWER: RETURN FULL HTML THAT MATCHES THE INPUT TEXT IN MEANING AND ORDER\n</chain_of_thoughs_rules>\n\n---\n\n### WHAT NOT TO DO\n\n- **NEVER REWRITE, REPHRASE, OR SUMMARIZE ANY TEXT**\n- **NEVER MERGE OR CONDENSE SUB-TOPICS INTO A SINGLE PARAGRAPH**\n- **NEVER ADD NEW IDEAS, CLARIFICATIONS, OR ELABORATIONS**\n- **DO NOT FORMAT IN MARKDOWN — HTML ONLY**\n- **DO NOT OMIT ANY SECTION EVEN IF IT SEEMS REDUNDANT**\n- **NEVER INJECT TONE, STYLE, OR EDITORIAL POLISH**\n- **NEVER COMBINE PARAGRAPHS THAT WERE SEPARATE IN THE INPUT**\n- **DO NOT ADD LISTS OR BULLETS IF THEY WERE NOT PRESENT IN THE INPUT**\n\n---\n\n### FEW-SHOT EXAMPLE\n\n**INPUT:**\n```\n## THREATS\n\n### Competitive Pressure from Incumbents \nAs the logistics tech space evolves, **established legacy players are beginning to integrate AI capabilities** into their platforms...\n\n### Regulatory Complexity in International Markets \nExpansion into EMEA introduces exposure to **data privacy frameworks such as GDPR**, which impose stricter compliance requirements...\n\n### Economic Sensitivity and Budget Volatility \nFuel price volatility can impact logistics budgets, potentially leading to **short-term churn among cost-sensitive customers**...\n\n### Platform Dependency Risks \nThe platform’s reliance on **third-party mapping APIs** introduces an element of operational dependency...\n```\n\n**OUTPUT:**\n```html\n<h2>THREATS</h2>\n<p>The company faces a range of external challenges that could impact its growth, stability, and competitive positioning. These threats stem from both market dynamics and operational dependencies, requiring proactive management and strategic foresight.</p>\n\n<h3>Competitive Pressure from Incumbents</h3>\n<p>As the logistics tech space evolves, <strong>established legacy players are beginning to integrate AI capabilities</strong> into their platforms. While this signals broader market validation, it introduces increased competition from firms with existing enterprise contracts. However, the company maintains a distinct advantage through its agility, product focus, and deep AI specialization — enabling it to move faster and innovate more freely than encumbered incumbents.</p>\n\n<h3>Regulatory Complexity in International Markets</h3>\n<p>Expansion into EMEA introduces exposure to <strong>data privacy frameworks such as GDPR</strong>, which impose stricter compliance requirements. The company has already begun aligning its architecture with European standards and is engaging legal and technical advisors to ensure full regulatory compatibility. These efforts not only reduce legal risk but also enhance long-term credibility in international markets.</p>\n\n<h3>Economic Sensitivity and Budget Volatility</h3>\n<p>Fuel price volatility can impact logistics budgets, potentially leading to <strong>short-term churn among cost-sensitive customers</strong>. Nonetheless, the company’s core value proposition — reducing miles driven and optimizing fuel use — becomes even more relevant in such conditions. The product remains positioned as a cost-saving necessity rather than a discretionary spend.</p>\n\n<h3>Platform Dependency Risks</h3>\n<p>The platform’s reliance on <strong>third-party mapping APIs</strong> introduces an element of operational dependency. While this is standard in the industry, the company maintains multiple vendor relationships and is exploring supplemental in-house mapping capabilities to increase long-term resilience and flexibility.</p>\n\n<p>In recognizing these external and structural risks, the company demonstrates not only self-awareness but also a proactive mindset. Ongoing efforts in compliance, product innovation, and operational flexibility reinforce its ability to manage challenges while remaining focused on long-term strategic growth.</p>\n```\n\n</system_prompt>\n"
},
"promptType": "define"
},
"typeVersion": 1.8
},
{
"id": "e3a0d391-486d-4477-a11f-f3717486659c",
"name": "合并",
"type": "n8n-nodes-base.merge",
"position": [
2900,
860
],
"parameters": {
"numberInputs": 4
},
"typeVersion": 3.1
},
{
"id": "4886c54e-3167-49bb-a23d-b7c6596454bd",
"name": "撰写引言",
"type": "@n8n/n8n-nodes-langchain.agent",
"position": [
3660,
560
],
"parameters": {
"text": "=**Strengths Section:** {{ $('Pull Info Again').item.json['Strengths Section'] }}\n\n**Weaknesses Section:** {{ $('Pull Info Again').item.json['Weaknesses Section'] }}\n\n**Opportunities Section:** {{ $('Pull Info Again').item.json['Opportunities Section'] }}\n\n**Threats Section:** {{ $('Pull Info Again').item.json['Threats Section'] }}\n\n**Company Name:** {{ $json[\"Company Name\"] }}\n\n**Industry:** {{ $json.Industry }}\n\n**Business Size:** {{ $json[\"Business Size\"] }}\n\n**Market Region:** {{ $json[\"Market Region\"] }}\n\n**Unique Value Proposition:** {{ $json[\"Unique Value Proposition\"] }}\n\n**Company Overview:** {{ $json[\"Company Overview\"] }}\n\n**Customer Base:** {{ $json[\"Customer Base\"] }}\n\n**Acquired Resources:** {{ $json[\"Acquired Resources\"] }}\n\n**Financials:** {{ $json.Financials }}\n\n**Team Expertise:** {{ $json[\"Team Expertise\"] }}\n\n**Known Weaknesses:** {{ $json[\"Known Weaknesses\"] }}\n\n**Customer Feedback:** {{ $json[\"Customer Feedback\"] }}\n\n**Market Trends:** {{ $json[\"Market Trends\"] }}\n\n**Competitors:** {{ $json.Competitors }}\n\n**Legal/Regulatory Environment:** {{ $json[\"Legal/Regulatory Environment\"] }}\n\n**Tech Developments:** {{ $json[\"Tech Developments\"] }}\n\n**Threats (Potential Threats):** {{ $json[\"Threats (Potential Threats)\"] }}\n\n**Short-Term Goals:** {{ $json[\"Short-Term Goals\"] }}\n\n**Long-Term Goals:** {{ $json[\"Long-Term Goals\"] }}",
"options": {
"systemMessage": "=<system_prompt>\nYOU ARE A STRATEGIC INTRODUCTION WRITER AGENT TRAINED TO COMPOSE FULL-PAGE, EXECUTIVE-LEVEL INTRODUCTIONS FOR SWOT ANALYSIS REPORTS. YOUR OUTPUT MUST ESTABLISH STRATEGIC CONTEXT, FRAME KEY THEMES, AND ENGAGE SENIOR STAKEHOLDERS.\n\nYOUR TASK IS TO TAKE COMPANY METADATA AND THE FULL SWOT CONTENT (STRENGTHS, WEAKNESSES, OPPORTUNITIES, THREATS) AND GENERATE A MULTI-PARAGRAPH HTML INTRODUCTION THAT:\n\n- ARTICULATES WHY THIS SWOT ANALYSIS MATTERS\n- PROVIDES INDUSTRY AND COMPETITIVE CONTEXT\n- ANTICIPATES THEMES IN THE SECTIONS THAT FOLLOW\n- POSITIONS THE COMPANY'S STRATEGIC TRAJECTORY\n- HIGHLIGHTS THE VALUE OF THE ANALYSIS FOR STAKEHOLDERS\n\n---\n\n### FORMAT REQUIREMENTS\n\n- OUTPUT USING SEMANTIC HTML ONLY\n- BEGIN WITH: `<h2>SWOT ANALYSIS</h2>`\n- FOLLOW WITH MULTIPLE PARAGRAPHS USING `<p>` TAGS\n- TARGET LENGTH: 4–6 PARAGRAPHS (APPROX. ONE PAGE)\n- TONE: PROFESSIONAL, STRATEGIC, ENGAGING\n\n---\n\n### CHAIN OF THOUGHTS TO FOLLOW\n\n<chain_of_thoughs_rules>\n// 1. UNDERSTAND: IDENTIFY COMPANY NAME, INDUSTRY, AND STRATEGIC SCOPE FROM METADATA\n// 2. BASICS: REVIEW EACH SWOT SECTION TITLE AND SCAN FOR REPEATED THEMES OR STRATEGIC TENSIONS\n// 3. BREAK DOWN: DETERMINE THE COMPANY’S CORE STRATEGIC QUESTIONS, GOALS, AND CHALLENGES\n// 4. ANALYZE: FRAME THE SWOT AS A TOOL FOR CLARITY, ALIGNMENT, AND PRIORITIZATION\n// 5. BUILD: STRUCTURE MULTIPLE PARAGRAPHS THAT FLOW FROM MACRO-CONTEXT → SWOT PURPOSE → THEMATIC PREVIEW → STRATEGIC SIGNALING\n// 6. EDGE CASES: IF ANY SECTION IS MISSING, ADAPT THE INTRO TO REFLECT A PARTIAL STRATEGIC SNAPSHOT\n// 7. FINAL ANSWER: DELIVER A FULLY-FORMATTED HTML INTRO THAT FEELS POLISHED, EXECUTIVE-READY, AND LOGICALLY STRUCTURED\n</chain_of_thoughs_rules>\n\n---\n\n### WHAT NOT TO DO\n\n- DO NOT WRITE A SINGLE SHORT PARAGRAPH — INTRODUCTION MUST BE MULTI-PARAGRAPH \n- DO NOT SUMMARIZE INDIVIDUAL SWOT SECTIONS — PROVIDE STRATEGIC CONTEXT, NOT A SECTION RECAP \n- DO NOT COPY TEXT FROM SWOT SECTIONS — INTRO MUST BE ORIGINAL \n- NEVER INCLUDE NON-HTML FORMATTING OR MARKDOWN \n- DO NOT ADD HEADINGS BEYOND `<h2>SWOT ANALYSIS</h2>` \n- DO NOT INCLUDE COMPANY FINANCIALS UNLESS GIVEN \n- AVOID GENERIC OR EMPTY CORPORATE JARGON — WRITE WITH STRATEGIC CLARITY\n\n---\n\n### FEW-SHOT EXAMPLE\n\n**INPUT:**\n- Company: \"Fleetly AI\"\n- Industry: \"AI-driven logistics optimization\"\n- Strategic Scope: \"International expansion, cost-efficiency, product scale\"\n- Provided Sections: Strengths, Weaknesses, Opportunities, Threats (HTML)\n\n**OUTPUT:**\n```html\n<h2>SWOT ANALYSIS</h2>\n<p>Fleetly AI stands at a pivotal inflection point. As a trailblazer in AI-powered logistics optimization, the company is actively transitioning from a regional disruptor to a global operator. This growth strategy is catalyzed by increasing international demand for intelligent fleet solutions, emerging regulatory shifts, and a heightened emphasis on cost efficiency across supply chains.</p>\n\n<p>This SWOT analysis has been commissioned to provide a structured and objective framework for evaluating the internal capabilities and external pressures shaping Fleetly AI's next chapter. It enables leadership to align on the strengths that can be leveraged, the vulnerabilities that must be addressed, and the broader market forces that define opportunity and risk.</p>\n\n<p>The logistics technology sector is evolving rapidly, with legacy players adopting AI features and regulatory expectations intensifying in cross-border markets. These dynamics create both urgency and possibility — and demand precision in strategic planning. A comprehensive SWOT analysis not only serves as a diagnostic tool but also as a catalyst for cross-functional alignment and roadmap recalibration.</p>\n\n<p>Across the four quadrants of analysis, this document explores Fleetly AI’s core differentiators — from algorithmic innovation to agile deployment — while critically assessing areas like platform dependencies and operational scalability. In parallel, it examines the fertile landscape of international growth, strategic partnerships, and evolving customer needs that present clear paths forward.</p>\n\n<p>By distilling strategic signals from within and beyond the organization, this SWOT provides a decision-making compass. It is intended for executive stakeholders, investors, and operating leaders who must prioritize resource allocation, define expansion blueprints, and stay resilient amid volatility.</p>\n\n<p>The following pages deliver a candid, well-structured assessment of where Fleetly AI stands — and where it is primed to go.</p>\n```\n\n</system_prompt>\n"
},
"promptType": "define"
},
"typeVersion": 1.8
},
{
"id": "411d0cd1-8e18-4843-bb68-a7a030018f68",
"name": "限制",
"type": "n8n-nodes-base.limit",
"position": [
3200,
880
],
"parameters": {},
"typeVersion": 1
},
{
"id": "97940071-04a2-4473-85f1-e61d6aafb89f",
"name": "合并内容",
"type": "n8n-nodes-base.code",
"position": [
3660,
1360
],
"parameters": {
"jsCode": "// Access the incoming item\nconst item = items[0];\n\n// Create CombinedContent with 4 newlines between sections\nconst combinedContent = [\n item.json['Stylized Title Page'] || '',\n item.json[\"Table Of Contents\"] || '',\n item.json.Introduction || '',\n item.json[\"Strengths Section\"] || '',\n item.json[\"Weaknesses Section\"] || '',\n item.json[\"Opportunities Section\"] || '',\n item.json[\"Threats Section\"] || '',\n item.json.Conclusion || ''\n].join('\\n\\n\\n\\n');\n\n// Return a new item with CombinedContent added, preserving everything else\nreturn [{\n ...item,\n json: {\n ...item.json,\n CombinedContent: combinedContent\n }\n}];\n"
},
"typeVersion": 2
},
{
"id": "68ac6c85-2d7b-4179-b251-dbc6e660e355",
"name": "下载 PDF",
"type": "n8n-nodes-base.httpRequest",
"position": [
4040,
1360
],
"parameters": {
"url": "={{ $json.download_url }}",
"options": {}
},
"typeVersion": 4.2
},
{
"id": "6e5e68ad-efd0-44fb-9975-eef0a95a922d",
"name": "发送报告",
"type": "n8n-nodes-base.gmail",
"position": [
4440,
880
],
"webhookId": "e066c2ef-6c8c-413e-a70e-05c88f29b9f6",
"parameters": {
"sendTo": "=bradford@bradfordcarlton.com",
"message": "=The SWOT Analysis for {{ $('Combine Content').item.json['Company Name'] }} is complete.\n\nYou can find it attached below.",
"options": {
"attachmentsUi": {
"attachmentsBinary": [
{}
]
},
"appendAttribution": false
},
"subject": "=SWOT Analysis: {{ $('Combine Content').item.json['Company Name'] }}",
"emailType": "text"
},
"typeVersion": 2.1
},
{
"id": "46fc8aea-944a-42ef-8b60-d3a6cc133a6c",
"name": "目录",
"type": "@n8n/n8n-nodes-langchain.agent",
"position": [
3660,
960
],
"parameters": {
"text": "=**Introduction:** {{ $('Pull Info Again2').item.json.Introduction }}\n\n**Strengths:** {{ $('Pull Info Again2').item.json['Strengths Section'] }}\n\n**Weaknesses:** {{ $('Pull Info Again2').item.json['Weaknesses Section'] }}\n\n**Opportunities:** {{ $('Pull Info Again2').item.json['Opportunities Section'] }}\n\n**Threats:** {{ $('Pull Info Again2').item.json['Threats Section'] }}\n\n**Conclusion:** {{ $('Pull Info Again2').item.json.Conclusion }}",
"options": {
"systemMessage": "=<system_prompt>\nYOU ARE A TABLE OF CONTENTS (ToC) GENERATOR AGENT FOR EXECUTIVE SWOT REPORTS. YOUR TASK IS TO ANALYZE THE FULL HTML REPORT STRUCTURE AND OUTPUT A STYLED, PROFESSIONAL ToC BLOCK IN PURE HTML FORMAT.\n\n---\n\n### OUTPUT FORMAT:\n\n- WRAP THE ENTIRE ToC IN:\n `<div style=\"background-color: #f4f4f4; padding: 20px; font-size: 16px; line-height: 1.6; color: #333;\">`\n- INCLUDE A HEADING: `<h2>Table of Contents</h2>`\n- FOLLOWED BY A `<hr>`\n- USE OUTER `<ol>` FOR `<h2>`-LEVEL CHAPTERS\n- NESTED `<ol>` FOR `<h3>` SUBSECTIONS\n- **STRIP ANY LEADING NUMERIC PREFIXES (e.g., \"1. \", \"2.1 \") FROM h3 HEADERS** BEFORE DISPLAYING THEM IN THE TOC\n\n---\n\n### FORMAT SPECIFICATION\n\nTOP-LEVEL STRUCTURE:\n```html\n<ol>\n <li>\n <h2>[SECTION TITLE]</h2>\n <ol>\n <li>[Cleaned Subheading]</li>\n </ol>\n </li>\n</ol>\n```\n\n---\n\n### CHAIN OF THOUGHTS TO FOLLOW\n\n<chain_of_thoughs_rules>\n// 1. UNDERSTAND: IDENTIFY ALL <h2> AND <h3> HEADERS FROM THE INPUT HTML\n// 2. BASICS: MAP EACH <h2> TO A CHAPTER, AND NEST ALL FOLLOWING <h3> UNTIL NEXT <h2>\n// 3. BREAK DOWN: EXTRACT TEXT FROM EACH <h3>, THEN REMOVE ANY LEADING NUMBERS\n// 4. ANALYZE: MAINTAIN ORIGINAL ORDER, BUT CLEAN UP REDUNDANT FORMATTING\n// 5. BUILD: COMPOSE THE STRUCTURED <div> OUTPUT TO MATCH PROVIDED STYLE\n// 6. EDGE CASES: IF A <h2> HAS NO <h3>, OMIT THE INNER <ol>\n// 7. FINAL ANSWER: RETURN CLEAN, STYLED HTML ONLY\n</chain_of_thoughs_rules>\n\n---\n\n### WHAT NOT TO DO\n\n- **NEVER DISPLAY NUMERIC PREFIXES FROM h3 IN TOC OUTPUT** \n- **DO NOT INCLUDE RAW MARKDOWN OR ANY NON-HTML FORMATTING** \n- **DO NOT WRAP h2 INSIDE li IF THERE ARE NO SUBSECTIONS** \n- **NEVER GUESS OR GENERATE FAKE HEADINGS — ONLY USE ACTUAL <h2>/<h3> FROM INPUT** \n- **DO NOT MODIFY SECTION ORDER** \n- **DO NOT DUPLICATE LIST NUMBERS** \n- **DO NOT USE CSS CLASSES — INLINE STYLES ONLY**\n\n---\n\n### FEW-SHOT FIXED EXAMPLE\n\n**INPUT:**\n```html\n<h2>STRENGTHS</h2>\n<h3>1. Interoperability as Strategic Moat</h3>\n<h3>2. AI Synergy</h3>\n<h3>3. Founder-Market Fit</h3>\n```\n\n**OUTPUT:**\n```html\n<div style=\"background-color: #f4f4f4; padding: 20px; font-size: 16px; line-height: 1.6; color: #333;\">\n <h2>Table of Contents</h2>\n <hr>\n <ol>\n <li>\n <h2>STRENGTHS</h2>\n <ol>\n <li>Interoperability as Strategic Moat</li>\n <li>AI Synergy</li>\n <li>Founder-Market Fit</li>\n </ol>\n </li>\n </ol>\n</div>\n```\n</system_prompt>\n"
},
"promptType": "define"
},
"typeVersion": 1.8
},
{
"id": "5edd9ff7-cab5-41a4-8e54-04df6c67ddeb",
"name": "发送目录",
"type": "n8n-nodes-base.googleSheets",
"position": [
4040,
960
],
"parameters": {
"columns": {
"value": {
"Company Name": "={{ $('Pull Info Again2').item.json['Company Name'] }}",
"Table Of Contents": "={{ $json.output }}"
},
"schema": [
{
"id": "Company Name",
"type": "string",
"display": true,
"removed": false,
"required": false,
"displayName": "Company Name",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "Industry",
"type": "string",
"display": true,
"removed": false,
"required": false,
"displayName": "Industry",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "Business Size",
"type": "string",
"display": true,
"removed": false,
"required": false,
"displayName": "Business Size",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "Market Region",
"type": "string",
"display": true,
"removed": false,
"required": false,
"displayName": "Market Region",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "Unique Value Proposition",
"type": "string",
"display": true,
"removed": false,
"required": false,
"displayName": "Unique Value Proposition",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "Company Overview",
"type": "string",
"display": true,
"removed": false,
"required": false,
"displayName": "Company Overview",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "Customer Base",
"type": "string",
"display": true,
"removed": false,
"required": false,
"displayName": "Customer Base",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "Acquired Resources",
"type": "string",
"display": true,
"removed": false,
"required": false,
"displayName": "Acquired Resources",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "Financials",
"type": "string",
"display": true,
"removed": false,
"required": false,
"displayName": "Financials",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "Team Expertise",
"type": "string",
"display": true,
"removed": false,
"required": false,
"displayName": "Team Expertise",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "Known Weaknesses",
"type": "string",
"display": true,
"removed": false,
"required": false,
"displayName": "Known Weaknesses",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "Customer Feedback",
"type": "string",
"display": true,
"removed": false,
"required": false,
"displayName": "Customer Feedback",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "Market Trends",
"type": "string",
"display": true,
"removed": false,
"required": false,
"displayName": "Market Trends",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "Competitors",
"type": "string",
"display": true,
"removed": false,
"required": false,
"displayName": "Competitors",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "Legal/Regulatory Environment",
"type": "string",
"display": true,
"removed": false,
"required": false,
"displayName": "Legal/Regulatory Environment",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "Tech Developments",
"type": "string",
"display": true,
"removed": false,
"required": false,
"displayName": "Tech Developments",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "Threats (Potential Threats)",
"type": "string",
"display": true,
"removed": false,
"required": false,
"displayName": "Threats (Potential Threats)",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "Short-Term Goals",
"type": "string",
"display": true,
"removed": false,
"required": false,
"displayName": "Short-Term Goals",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "Long-Term Goals",
"type": "string",
"display": true,
"removed": false,
"required": false,
"displayName": "Long-Term Goals",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "Introduction",
"type": "string",
"display": true,
"removed": true,
"required": false,
"displayName": "Introduction",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "Strengths Section",
"type": "string",
"display": true,
"removed": false,
"required": false,
"displayName": "Strengths Section",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "Weaknesses Section",
"type": "string",
"display": true,
"removed": false,
"required": false,
"displayName": "Weaknesses Section",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "Opportunities Section",
"type": "string",
"display": true,
"removed": false,
"required": false,
"displayName": "Opportunities Section",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "Threats Section",
"type": "string",
"display": true,
"removed": false,
"required": false,
"displayName": "Threats Section",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "Table Of Contents",
"type": "string",
"display": true,
"removed": false,
"required": false,
"displayName": "Table Of Contents",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "Conclusion",
"type": "string",
"display": true,
"removed": false,
"required": false,
"displayName": "Conclusion",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "Stylized Title Page",
"type": "string",
"display": true,
"removed": false,
"required": false,
"displayName": "Stylized Title Page",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "row_number",
"type": "string",
"display": true,
"removed": true,
"readOnly": true,
"required": false,
"displayName": "row_number",
"defaultMatch": false,
"canBeUsedToMatch": true
}
],
"mappingMode": "defineBelow",
"matchingColumns": [
"Company Name"
],
"attemptToConvertTypes": false,
"convertFieldsToString": false
},
"options": {},
"operation": "update",
"sheetName": {
"__rl": true,
"mode": "list",
"value": "gid=0",
"cachedResultUrl": "https://docs.google.com/spreadsheets/d/19k1nKNIj8J63e4LoR2yVDq2YN5fOFMHBOpMnrakLNOM/edit#gid=0",
"cachedResultName": "Company Info Input"
},
"documentId": {
"__rl": true,
"mode": "list",
"value": "19k1nKNIj8J63e4LoR2yVDq2YN5fOFMHBOpMnrakLNOM",
"cachedResultUrl": "https://docs.google.com/spreadsheets/d/19k1nKNIj8J63e4LoR2yVDq2YN5fOFMHBOpMnrakLNOM/edit?usp=drivesdk",
"cachedResultName": "SWOT Analysis"
}
},
"typeVersion": 4.5
},
{
"id": "5942eb86-711a-4e8c-adbc-f8c3a2829745",
"name": "OpenAI 聊天模型2",
"type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
"position": [
3060,
1220
],
"parameters": {
"model": {
"__rl": true,
"mode": "list",
"value": "gpt-4.1-mini",
"cachedResultName": "gpt-4.1-mini"
},
"options": {}
},
"typeVersion": 1.2
},
{
"id": "00104c24-0db4-47c2-bb55-e287197765b5",
"name": "上传优势",
"type": "n8n-nodes-base.googleSheets",
"position": [
2620,
560
],
"parameters": {
"columns": {
"value": {
"Company Name": "={{ $('Google Sheets').item.json['Company Name'] }}",
"Strengths Section": "={{ $json.output }}"
},
"schema": [
{
"id": "Company Name",
"type": "string",
"display": true,
"removed": false,
"required": false,
"displayName": "Company Name",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "Industry",
"type": "string",
"display": true,
"required": false,
"displayName": "Industry",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "Business Size",
"type": "string",
"display": true,
"required": false,
"displayName": "Business Size",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "Market Region",
"type": "string",
"display": true,
"required": false,
"displayName": "Market Region",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "Unique Value Proposition",
"type": "string",
"display": true,
"required": false,
"displayName": "Unique Value Proposition",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "Company Overview",
"type": "string",
"display": true,
"required": false,
"displayName": "Company Overview",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "Customer Base",
"type": "string",
"display": true,
"required": false,
"displayName": "Customer Base",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "Acquired Resources",
"type": "string",
"display": true,
"required": false,
"displayName": "Acquired Resources",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "Financials",
"type": "string",
"display": true,
"required": false,
"displayName": "Financials",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "Team Expertise",
"type": "string",
"display": true,
"required": false,
"displayName": "Team Expertise",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "Known Weaknesses",
"type": "string",
"display": true,
"required": false,
"displayName": "Known Weaknesses",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "Customer Feedback",
"type": "string",
"display": true,
"required": false,
"displayName": "Customer Feedback",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "Market Trends",
"type": "string",
"display": true,
"required": false,
"displayName": "Market Trends",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "Competitors",
"type": "string",
"display": true,
"required": false,
"displayName": "Competitors",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "Legal/Regulatory Environment",
"type": "string",
"display": true,
"required": false,
"displayName": "Legal/Regulatory Environment",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "Tech Developments",
"type": "string",
"display": true,
"required": false,
"displayName": "Tech Developments",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "Threats (Potential Threats)",
"type": "string",
"display": true,
"required": false,
"displayName": "Threats (Potential Threats)",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "Short-Term Goals",
"type": "string",
"display": true,
"required": false,
"displayName": "Short-Term Goals",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "Long-Term Goals",
"type": "string",
"display": true,
"required": false,
"displayName": "Long-Term Goals",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "Introduction",
"type": "string",
"display": true,
"required": false,
"displayName": "Introduction",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "Strengths Section",
"type": "string",
"display": true,
"required": false,
"displayName": "Strengths Section",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "Weaknesses Section",
"type": "string",
"display": true,
"required": false,
"displayName": "Weaknesses Section",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "Opportunities Section",
"type": "string",
"display": true,
"required": false,
"displayName": "Opportunities Section",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "Threats Section",
"type": "string",
"display": true,
"required": false,
"displayName": "Threats Section",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "Table Of Contents",
"type": "string",
"display": true,
"required": false,
"displayName": "Table Of Contents",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "Conclusion",
"type": "string",
"display": true,
"required": false,
"displayName": "Conclusion",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "Stylized Title Page",
"type": "string",
"display": true,
"removed": false,
"required": false,
"displayName": "Stylized Title Page",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "row_number",
"type": "string",
"display": true,
"removed": true,
"readOnly": true,
"required": false,
"displayName": "row_number",
"defaultMatch": false,
"canBeUsedToMatch": true
}
],
"mappingMode": "defineBelow",
"matchingColumns": [
"Company Name"
],
"attemptToConvertTypes": false,
"convertFieldsToString": false
},
"options": {},
"operation": "update",
"sheetName": {
"__rl": true,
"mode": "list",
"value": "gid=0",
"cachedResultUrl": "https://docs.google.com/spreadsheets/d/19k1nKNIj8J63e4LoR2yVDq2YN5fOFMHBOpMnrakLNOM/edit#gid=0",
"cachedResultName": "Company Info Input"
},
"documentId": {
"__rl": true,
"mode": "list",
"value": "19k1nKNIj8J63e4LoR2yVDq2YN5fOFMHBOpMnrakLNOM",
"cachedResultUrl": "https://docs.google.com/spreadsheets/d/19k1nKNIj8J63e4LoR2yVDq2YN5fOFMHBOpMnrakLNOM/edit?usp=drivesdk",
"cachedResultName": "SWOT Analysis"
}
},
"typeVersion": 4.5,
"alwaysOutputData": true
},
{
"id": "238c2778-03bd-4635-97ed-f467d73dd9ba",
"name": "上传劣势",
"type": "n8n-nodes-base.googleSheets",
"position": [
2620,
780
],
"parameters": {
"columns": {
"value": {
"Company Name": "={{ $('Google Sheets').item.json['Company Name'] }}",
"Weaknesses Section": "={{ $json.output }}"
},
"schema": [
{
"id": "Company Name",
"type": "string",
"display": true,
"removed": false,
"required": false,
"displayName": "Company Name",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "Industry",
"type": "string",
"display": true,
"required": false,
"displayName": "Industry",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "Business Size",
"type": "string",
"display": true,
"required": false,
"displayName": "Business Size",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "Market Region",
"type": "string",
"display": true,
"required": false,
"displayName": "Market Region",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "Unique Value Proposition",
"type": "string",
"display": true,
"required": false,
"displayName": "Unique Value Proposition",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "Company Overview",
"type": "string",
"display": true,
"required": false,
"displayName": "Company Overview",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "Customer Base",
"type": "string",
"display": true,
"required": false,
"displayName": "Customer Base",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "Acquired Resources",
"type": "string",
"display": true,
"required": false,
"displayName": "Acquired Resources",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "Financials",
"type": "string",
"display": true,
"required": false,
"displayName": "Financials",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "Team Expertise",
"type": "string",
"display": true,
"required": false,
"displayName": "Team Expertise",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "Known Weaknesses",
"type": "string",
"display": true,
"required": false,
"displayName": "Known Weaknesses",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "Customer Feedback",
"type": "string",
"display": true,
"required": false,
"displayName": "Customer Feedback",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "Market Trends",
"type": "string",
"display": true,
"required": false,
"displayName": "Market Trends",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "Competitors",
"type": "string",
"display": true,
"required": false,
"displayName": "Competitors",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "Legal/Regulatory Environment",
"type": "string",
"display": true,
"required": false,
"displayName": "Legal/Regulatory Environment",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "Tech Developments",
"type": "string",
"display": true,
"required": false,
"displayName": "Tech Developments",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "Threats (Potential Threats)",
"type": "string",
"display": true,
"required": false,
"displayName": "Threats (Potential Threats)",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "Short-Term Goals",
"type": "string",
"display": true,
"required": false,
"displayName": "Short-Term Goals",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "Long-Term Goals",
"type": "string",
"display": true,
"required": false,
"displayName": "Long-Term Goals",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "Introduction",
"type": "string",
"display": true,
"required": false,
"displayName": "Introduction",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "Strengths Section",
"type": "string",
"display": true,
"required": false,
"displayName": "Strengths Section",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "Weaknesses Section",
"type": "string",
"display": true,
"required": false,
"displayName": "Weaknesses Section",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "Opportunities Section",
"type": "string",
"display": true,
"required": false,
"displayName": "Opportunities Section",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "Threats Section",
"type": "string",
"display": true,
"required": false,
"displayName": "Threats Section",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "Table Of Contents",
"type": "string",
"display": true,
"required": false,
"displayName": "Table Of Contents",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "Conclusion",
"type": "string",
"display": true,
"required": false,
"displayName": "Conclusion",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "Stylized Title Page",
"type": "string",
"display": true,
"removed": false,
"required": false,
"displayName": "Stylized Title Page",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "row_number",
"type": "string",
"display": true,
"removed": true,
"readOnly": true,
"required": false,
"displayName": "row_number",
"defaultMatch": false,
"canBeUsedToMatch": true
}
],
"mappingMode": "defineBelow",
"matchingColumns": [
"Company Name"
],
"attemptToConvertTypes": false,
"convertFieldsToString": false
},
"options": {},
"operation": "update",
"sheetName": {
"__rl": true,
"mode": "list",
"value": "gid=0",
"cachedResultUrl": "https://docs.google.com/spreadsheets/d/19k1nKNIj8J63e4LoR2yVDq2YN5fOFMHBOpMnrakLNOM/edit#gid=0",
"cachedResultName": "Company Info Input"
},
"documentId": {
"__rl": true,
"mode": "list",
"value": "19k1nKNIj8J63e4LoR2yVDq2YN5fOFMHBOpMnrakLNOM",
"cachedResultUrl": "https://docs.google.com/spreadsheets/d/19k1nKNIj8J63e4LoR2yVDq2YN5fOFMHBOpMnrakLNOM/edit?usp=drivesdk",
"cachedResultName": "SWOT Analysis"
}
},
"typeVersion": 4.5,
"alwaysOutputData": true
},
{
"id": "4aa704e9-7fd4-40e1-9975-c934b3ba0eee",
"name": "上传机会",
"type": "n8n-nodes-base.googleSheets",
"position": [
2620,
1000
],
"parameters": {
"columns": {
"value": {
"Company Name": "={{ $('Google Sheets').item.json['Company Name'] }}",
"Opportunities Section": "={{ $json.output }}"
},
"schema": [
{
"id": "Company Name",
"type": "string",
"display": true,
"removed": false,
"required": false,
"displayName": "Company Name",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "Industry",
"type": "string",
"display": true,
"required": false,
"displayName": "Industry",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "Business Size",
"type": "string",
"display": true,
"required": false,
"displayName": "Business Size",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "Market Region",
"type": "string",
"display": true,
"required": false,
"displayName": "Market Region",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "Unique Value Proposition",
"type": "string",
"display": true,
"required": false,
"displayName": "Unique Value Proposition",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "Company Overview",
"type": "string",
"display": true,
"required": false,
"displayName": "Company Overview",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "Customer Base",
"type": "string",
"display": true,
"required": false,
"displayName": "Customer Base",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "Acquired Resources",
"type": "string",
"display": true,
"required": false,
"displayName": "Acquired Resources",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "Financials",
"type": "string",
"display": true,
"required": false,
"displayName": "Financials",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "Team Expertise",
"type": "string",
"display": true,
"required": false,
"displayName": "Team Expertise",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "Known Weaknesses",
"type": "string",
"display": true,
"required": false,
"displayName": "Known Weaknesses",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "Customer Feedback",
"type": "string",
"display": true,
"required": false,
"displayName": "Customer Feedback",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "Market Trends",
"type": "string",
"display": true,
"required": false,
"displayName": "Market Trends",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "Competitors",
"type": "string",
"display": true,
"required": false,
"displayName": "Competitors",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "Legal/Regulatory Environment",
"type": "string",
"display": true,
"required": false,
"displayName": "Legal/Regulatory Environment",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "Tech Developments",
"type": "string",
"display": true,
"required": false,
"displayName": "Tech Developments",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "Threats (Potential Threats)",
"type": "string",
"display": true,
"required": false,
"displayName": "Threats (Potential Threats)",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "Short-Term Goals",
"type": "string",
"display": true,
"required": false,
"displayName": "Short-Term Goals",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "Long-Term Goals",
"type": "string",
"display": true,
"required": false,
"displayName": "Long-Term Goals",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "Introduction",
"type": "string",
"display": true,
"required": false,
"displayName": "Introduction",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "Strengths Section",
"type": "string",
"display": true,
"required": false,
"displayName": "Strengths Section",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "Weaknesses Section",
"type": "string",
"display": true,
"required": false,
"displayName": "Weaknesses Section",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "Opportunities Section",
"type": "string",
"display": true,
"required": false,
"displayName": "Opportunities Section",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "Threats Section",
"type": "string",
"display": true,
"required": false,
"displayName": "Threats Section",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "Table Of Contents",
"type": "string",
"display": true,
"required": false,
"displayName": "Table Of Contents",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "Conclusion",
"type": "string",
"display": true,
"required": false,
"displayName": "Conclusion",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "Stylized Title Page",
"type": "string",
"display": true,
"removed": false,
"required": false,
"displayName": "Stylized Title Page",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "row_number",
"type": "string",
"display": true,
"removed": true,
"readOnly": true,
"required": false,
"displayName": "row_number",
"defaultMatch": false,
"canBeUsedToMatch": true
}
],
"mappingMode": "defineBelow",
"matchingColumns": [
"Company Name"
],
"attemptToConvertTypes": false,
"convertFieldsToString": false
},
"options": {},
"operation": "update",
"sheetName": {
"__rl": true,
"mode": "list",
"value": "gid=0",
"cachedResultUrl": "https://docs.google.com/spreadsheets/d/19k1nKNIj8J63e4LoR2yVDq2YN5fOFMHBOpMnrakLNOM/edit#gid=0",
"cachedResultName": "Company Info Input"
},
"documentId": {
"__rl": true,
"mode": "list",
"value": "19k1nKNIj8J63e4LoR2yVDq2YN5fOFMHBOpMnrakLNOM",
"cachedResultUrl": "https://docs.google.com/spreadsheets/d/19k1nKNIj8J63e4LoR2yVDq2YN5fOFMHBOpMnrakLNOM/edit?usp=drivesdk",
"cachedResultName": "SWOT Analysis"
}
},
"typeVersion": 4.5,
"alwaysOutputData": true
},
{
"id": "5ac5c74d-b538-4326-8f03-e6f8f52fc3af",
"name": "上传威胁",
"type": "n8n-nodes-base.googleSheets",
"position": [
2620,
1220
],
"parameters": {
"columns": {
"value": {
"Company Name": "={{ $('Google Sheets').item.json['Company Name'] }}",
"Threats Section": "={{ $json.output }}"
},
"schema": [
{
"id": "Company Name",
"type": "string",
"display": true,
"removed": false,
"required": false,
"displayName": "Company Name",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "Industry",
"type": "string",
"display": true,
"required": false,
"displayName": "Industry",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "Business Size",
"type": "string",
"display": true,
"required": false,
"displayName": "Business Size",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "Market Region",
"type": "string",
"display": true,
"required": false,
"displayName": "Market Region",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "Unique Value Proposition",
"type": "string",
"display": true,
"required": false,
"displayName": "Unique Value Proposition",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "Company Overview",
"type": "string",
"display": true,
"required": false,
"displayName": "Company Overview",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "Customer Base",
"type": "string",
"display": true,
"required": false,
"displayName": "Customer Base",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "Acquired Resources",
"type": "string",
"display": true,
"required": false,
"displayName": "Acquired Resources",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "Financials",
"type": "string",
"display": true,
"required": false,
"displayName": "Financials",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "Team Expertise",
"type": "string",
"display": true,
"required": false,
"displayName": "Team Expertise",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "Known Weaknesses",
"type": "string",
"display": true,
"required": false,
"displayName": "Known Weaknesses",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "Customer Feedback",
"type": "string",
"display": true,
"required": false,
"displayName": "Customer Feedback",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "Market Trends",
"type": "string",
"display": true,
"required": false,
"displayName": "Market Trends",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "Competitors",
"type": "string",
"display": true,
"required": false,
"displayName": "Competitors",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "Legal/Regulatory Environment",
"type": "string",
"display": true,
"required": false,
"displayName": "Legal/Regulatory Environment",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "Tech Developments",
"type": "string",
"display": true,
"required": false,
"displayName": "Tech Developments",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "Threats (Potential Threats)",
"type": "string",
"display": true,
"required": false,
"displayName": "Threats (Potential Threats)",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "Short-Term Goals",
"type": "string",
"display": true,
"required": false,
"displayName": "Short-Term Goals",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "Long-Term Goals",
"type": "string",
"display": true,
"required": false,
"displayName": "Long-Term Goals",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "Introduction",
"type": "string",
"display": true,
"required": false,
"displayName": "Introduction",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "Strengths Section",
"type": "string",
"display": true,
"required": false,
"displayName": "Strengths Section",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "Weaknesses Section",
"type": "string",
"display": true,
"required": false,
"displayName": "Weaknesses Section",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "Opportunities Section",
"type": "string",
"display": true,
"required": false,
"displayName": "Opportunities Section",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "Threats Section",
"type": "string",
"display": true,
"required": false,
"displayName": "Threats Section",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "Table Of Contents",
"type": "string",
"display": true,
"required": false,
"displayName": "Table Of Contents",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "Conclusion",
"type": "string",
"display": true,
"required": false,
"displayName": "Conclusion",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "row_number",
"type": "string",
"display": true,
"removed": true,
"readOnly": true,
"required": false,
"displayName": "row_number",
"defaultMatch": false,
"canBeUsedToMatch": true
}
],
"mappingMode": "defineBelow",
"matchingColumns": [
"Company Name"
],
"attemptToConvertTypes": false,
"convertFieldsToString": false
},
"options": {},
"operation": "update",
"sheetName": {
"__rl": true,
"mode": "list",
"value": "gid=0",
"cachedResultUrl": "https://docs.google.com/spreadsheets/d/19k1nKNIj8J63e4LoR2yVDq2YN5fOFMHBOpMnrakLNOM/edit#gid=0",
"cachedResultName": "Company Info Input"
},
"documentId": {
"__rl": true,
"mode": "list",
"value": "19k1nKNIj8J63e4LoR2yVDq2YN5fOFMHBOpMnrakLNOM",
"cachedResultUrl": "https://docs.google.com/spreadsheets/d/19k1nKNIj8J63e4LoR2yVDq2YN5fOFMHBOpMnrakLNOM/edit?usp=drivesdk",
"cachedResultName": "SWOT Analysis"
}
},
"typeVersion": 4.5,
"alwaysOutputData": true
},
{
"id": "606fa187-7721-483d-9bb9-aceaef635ecb",
"name": "上传引言",
"type": "n8n-nodes-base.googleSheets",
"position": [
4040,
560
],
"parameters": {
"columns": {
"value": {
"Company Name": "={{ $('Google Sheets').item.json['Company Name'] }}",
"Introduction": "={{ $json.output }}"
},
"schema": [
{
"id": "Company Name",
"type": "string",
"display": true,
"removed": false,
"required": false,
"displayName": "Company Name",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "Industry",
"type": "string",
"display": true,
"required": false,
"displayName": "Industry",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "Business Size",
"type": "string",
"display": true,
"required": false,
"displayName": "Business Size",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "Market Region",
"type": "string",
"display": true,
"required": false,
"displayName": "Market Region",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "Unique Value Proposition",
"type": "string",
"display": true,
"required": false,
"displayName": "Unique Value Proposition",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "Company Overview",
"type": "string",
"display": true,
"required": false,
"displayName": "Company Overview",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "Customer Base",
"type": "string",
"display": true,
"required": false,
"displayName": "Customer Base",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "Acquired Resources",
"type": "string",
"display": true,
"required": false,
"displayName": "Acquired Resources",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "Financials",
"type": "string",
"display": true,
"required": false,
"displayName": "Financials",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "Team Expertise",
"type": "string",
"display": true,
"required": false,
"displayName": "Team Expertise",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "Known Weaknesses",
"type": "string",
"display": true,
"required": false,
"displayName": "Known Weaknesses",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "Customer Feedback",
"type": "string",
"display": true,
"required": false,
"displayName": "Customer Feedback",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "Market Trends",
"type": "string",
"display": true,
"required": false,
"displayName": "Market Trends",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "Competitors",
"type": "string",
"display": true,
"required": false,
"displayName": "Competitors",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "Legal/Regulatory Environment",
"type": "string",
"display": true,
"required": false,
"displayName": "Legal/Regulatory Environment",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "Tech Developments",
"type": "string",
"display": true,
"required": false,
"displayName": "Tech Developments",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "Threats (Potential Threats)",
"type": "string",
"display": true,
"required": false,
"displayName": "Threats (Potential Threats)",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "Short-Term Goals",
"type": "string",
"display": true,
"required": false,
"displayName": "Short-Term Goals",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "Long-Term Goals",
"type": "string",
"display": true,
"required": false,
"displayName": "Long-Term Goals",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "Introduction",
"type": "string",
"display": true,
"required": false,
"displayName": "Introduction",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "Strengths Section",
"type": "string",
"display": true,
"required": false,
"displayName": "Strengths Section",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "Weaknesses Section",
"type": "string",
"display": true,
"required": false,
"displayName": "Weaknesses Section",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "Opportunities Section",
"type": "string",
"display": true,
"required": false,
"displayName": "Opportunities Section",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "Threats Section",
"type": "string",
"display": true,
"required": false,
"displayName": "Threats Section",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "Table Of Contents",
"type": "string",
"display": true,
"required": false,
"displayName": "Table Of Contents",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "Conclusion",
"type": "string",
"display": true,
"required": false,
"displayName": "Conclusion",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "Stylized Title Page",
"type": "string",
"display": true,
"removed": false,
"required": false,
"displayName": "Stylized Title Page",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "row_number",
"type": "string",
"display": true,
"removed": true,
"readOnly": true,
"required": false,
"displayName": "row_number",
"defaultMatch": false,
"canBeUsedToMatch": true
}
],
"mappingMode": "defineBelow",
"matchingColumns": [
"Company Name"
],
"attemptToConvertTypes": false,
"convertFieldsToString": false
},
"options": {},
"operation": "update",
"sheetName": {
"__rl": true,
"mode": "list",
"value": "gid=0",
"cachedResultUrl": "https://docs.google.com/spreadsheets/d/19k1nKNIj8J63e4LoR2yVDq2YN5fOFMHBOpMnrakLNOM/edit#gid=0",
"cachedResultName": "Company Info Input"
},
"documentId": {
"__rl": true,
"mode": "list",
"value": "19k1nKNIj8J63e4LoR2yVDq2YN5fOFMHBOpMnrakLNOM",
"cachedResultUrl": "https://docs.google.com/spreadsheets/d/19k1nKNIj8J63e4LoR2yVDq2YN5fOFMHBOpMnrakLNOM/edit?usp=drivesdk",
"cachedResultName": "SWOT Analysis"
}
},
"typeVersion": 4.5,
"alwaysOutputData": true
},
{
"id": "24ea6ac1-a0fe-4e6f-b952-0bc0113c98bb",
"name": "重新拉取信息",
"type": "n8n-nodes-base.googleSheets",
"position": [
3440,
560
],
"parameters": {
"options": {},
"sheetName": {
"__rl": true,
"mode": "list",
"value": "gid=0",
"cachedResultUrl": "https://docs.google.com/spreadsheets/d/19k1nKNIj8J63e4LoR2yVDq2YN5fOFMHBOpMnrakLNOM/edit#gid=0",
"cachedResultName": "Company Info Input"
},
"documentId": {
"__rl": true,
"mode": "list",
"value": "19k1nKNIj8J63e4LoR2yVDq2YN5fOFMHBOpMnrakLNOM",
"cachedResultUrl": "https://docs.google.com/spreadsheets/d/19k1nKNIj8J63e4LoR2yVDq2YN5fOFMHBOpMnrakLNOM/edit?usp=drivesdk",
"cachedResultName": "SWOT Analysis"
}
},
"typeVersion": 4.5
},
{
"id": "4e23850a-0c68-47d5-8abf-3e73eaeb72fb",
"name": "重新拉取信息1",
"type": "n8n-nodes-base.googleSheets",
"position": [
3440,
760
],
"parameters": {
"options": {},
"sheetName": {
"__rl": true,
"mode": "list",
"value": "gid=0",
"cachedResultUrl": "https://docs.google.com/spreadsheets/d/19k1nKNIj8J63e4LoR2yVDq2YN5fOFMHBOpMnrakLNOM/edit#gid=0",
"cachedResultName": "Company Info Input"
},
"documentId": {
"__rl": true,
"mode": "list",
"value": "19k1nKNIj8J63e4LoR2yVDq2YN5fOFMHBOpMnrakLNOM",
"cachedResultUrl": "https://docs.google.com/spreadsheets/d/19k1nKNIj8J63e4LoR2yVDq2YN5fOFMHBOpMnrakLNOM/edit?usp=drivesdk",
"cachedResultName": "SWOT Analysis"
}
},
"typeVersion": 4.5
},
{
"id": "b35a3098-ac89-4a6c-a8c1-500344a2f2ab",
"name": "撰写结论",
"type": "@n8n/n8n-nodes-langchain.agent",
"position": [
3660,
760
],
"parameters": {
"text": "=**Introduction:** {{ $('Pull Info Again1').item.json.Introduction }}\n\n**Strengths Section:** {{ $('Pull Info Again1').item.json['Strengths Section'] }}\n\n**Weaknesses Section:** {{ $('Pull Info Again1').item.json['Weaknesses Section'] }}\n\n**Opportunities Section:** {{ $('Pull Info Again1').item.json['Opportunities Section'] }}\n\n**Threats Section:** {{ $('Pull Info Again1').item.json['Threats Section'] }}\n\n**Company Name:** {{ $json[\"Company Name\"] }}\n\n**Industry:** {{ $json.Industry }}\n\n**Business Size:** {{ $json[\"Business Size\"] }}\n\n**Market Region:** {{ $json[\"Market Region\"] }}\n\n**Unique Value Proposition:** {{ $json[\"Unique Value Proposition\"] }}\n\n**Company Overview:** {{ $json[\"Company Overview\"] }}\n\n**Customer Base:** {{ $json[\"Customer Base\"] }}\n\n**Acquired Resources:** {{ $json[\"Acquired Resources\"] }}\n\n**Financials:** {{ $json.Financials }}\n\n**Team Expertise:** {{ $json[\"Team Expertise\"] }}\n\n**Known Weaknesses:** {{ $json[\"Known Weaknesses\"] }}\n\n**Customer Feedback:** {{ $json[\"Customer Feedback\"] }}\n\n**Market Trends:** {{ $json[\"Market Trends\"] }}\n\n**Competitors:** {{ $json.Competitors }}\n\n**Legal/Regulatory Environment:** {{ $json[\"Legal/Regulatory Environment\"] }}\n\n**Tech Developments:** {{ $json[\"Tech Developments\"] }}\n\n**Threats (Potential Threats):** {{ $json[\"Threats (Potential Threats)\"] }}\n\n**Short-Term Goals:** {{ $json[\"Short-Term Goals\"] }}\n\n**Long-Term Goals:** {{ $json[\"Long-Term Goals\"] }}",
"options": {
"systemMessage": "=<system_prompt>\nYOU ARE A STRATEGIC CONCLUSION WRITER AGENT TRAINED TO COMPOSE FULL-PAGE, EXECUTIVE-LEVEL CLOSING SECTIONS FOR SWOT ANALYSIS REPORTS. YOUR ROLE IS TO DELIVER A COMPELLING STRATEGIC SYNTHESIS THAT REFLECTS ON THE SWOT FINDINGS AND GUIDES THE READER TOWARD NEXT STEPS AND DECISIONS.\n\nYOUR INPUT WILL INCLUDE:\n- COMPANY METADATA (NAME, INDUSTRY, STRATEGIC SCOPE)\n- HTML-FORMATTED SWOT SECTIONS (STRENGTHS, WEAKNESSES, OPPORTUNITIES, THREATS)\n\nYOUR OUTPUT MUST:\n- SYNTHESIZE INSIGHTS ACROSS ALL FOUR SECTIONS\n- HIGHLIGHT STRATEGIC ALIGNMENT OR TENSION POINTS\n- SIGNAL STRATEGIC PRIORITIES, FOCUS AREAS, AND FUTURE DIRECTION\n- MAINTAIN EXECUTIVE-LEVEL TONE, RELEVANT TO DECISION-MAKERS\n\n---\n\n### FORMAT REQUIREMENTS\n\n- OUTPUT MUST USE SEMANTIC HTML ONLY\n- BEGIN WITH: `<h2>STRATEGIC CONCLUSION</h2>`\n- FOLLOW WITH MULTIPLE PARAGRAPHS USING `<p>` TAGS\n- TARGET LENGTH: 4–6 PARAGRAPHS (APPROX. ONE PAGE)\n- TONE: STRATEGIC, REFLECTIVE, AND DECISION-ORIENTED\n\n---\n\n### CHAIN OF THOUGHTS TO FOLLOW\n\n<chain_of_thoughs_rules>\n// 1. UNDERSTAND: IDENTIFY THE COMPANY NAME, INDUSTRY, AND STRATEGIC OBJECTIVES FROM METADATA\n// 2. BASICS: REVIEW EACH SWOT SECTION TO IDENTIFY THEMES, IMBALANCES, AND STRATEGIC TENSIONS\n// 3. BREAK DOWN: IDENTIFY STRENGTHS TO LEVERAGE, WEAKNESSES TO REMEDIATE, OPPORTUNITIES TO PURSUE, THREATS TO DEFEND AGAINST\n// 4. ANALYZE: CONSIDER HOW THESE FOUR DOMAINS INTERACT IN THE CONTEXT OF THE COMPANY’S STRATEGY\n// 5. BUILD: STRUCTURE A MULTI-PARAGRAPH STRATEGIC NARRATIVE THAT SYNTHESIZES INSIGHTS AND OFFERS FORWARD-LOOKING GUIDANCE\n// 6. EDGE CASES: IF ANY SECTION IS LIGHT OR UNBALANCED, ACCOUNT FOR IT IN THE STRATEGIC REFLECTION\n// 7. FINAL ANSWER: RETURN A COMPLETE HTML SECTION THAT PROVIDES CLOSURE, CLARITY, AND STRATEGIC DIRECTION\n</chain_of_thoughs_rules>\n\n---\n\n### WHAT NOT TO DO\n\n- DO NOT SUMMARIZE EACH SWOT SECTION INDIVIDUALLY — THIS IS A SYNTHESIS, NOT A RECAP \n- NEVER OMIT THE CONCLUSION OR WRITE ONLY A SINGLE PARAGRAPH \n- DO NOT ADD FINANCIALS OR BUSINESS METRICS NOT PRESENT IN THE INPUT \n- NEVER STRAY FROM THE COMPANY’S INDUSTRY OR STRATEGIC SCOPE \n- DO NOT INCLUDE ANY NON-HTML FORMATTING (NO MARKDOWN, NO BULLETS, NO CSS) \n- NEVER USE GENERIC CLOSING LANGUAGE — ALWAYS GROUND YOUR ANALYSIS IN THE THEMES OF THE SWOT\n\n---\n\n### FEW-SHOT EXAMPLE\n\n**INPUT:**\n- Company: \"Fleetly AI\"\n- Industry: \"AI-driven logistics optimization\"\n- Strategic Scope: \"Global expansion, resilience, platform scalability\"\n- SWOT: HTML-formatted STRENGTHS through THREATS\n\n**OUTPUT:**\n```html\n<h2>STRATEGIC CONCLUSION</h2>\n<p>This SWOT analysis reveals a company at a crucial juncture. Fleetly AI's foundational strengths — from its proprietary algorithms to its operational agility — provide a durable competitive edge in a market undergoing rapid transformation. These assets are not only relevant but essential in an industry where speed, optimization, and data-driven decision-making increasingly define success.</p>\n\n<p>At the same time, the analysis underscores areas requiring attention. Platform dependencies, global compliance complexities, and evolving customer expectations present legitimate risks that, if unaddressed, could constrain the company’s scalability. Fortunately, the very capabilities that define Fleetly AI’s value proposition also equip it to respond quickly and effectively.</p>\n\n<p>The most compelling insight lies in the convergence of opportunity and readiness. Expansion into international markets, rising demand for cost-reduction technologies, and AI adoption trends all favor Fleetly AI’s trajectory — provided leadership continues to align talent, infrastructure, and capital behind its growth priorities.</p>\n\n<p>By evaluating the interaction between its strengths and opportunities, and proactively mitigating vulnerabilities, the company is positioned to accelerate its mission without compromising resilience. This balance — between boldness and discipline — will define the strategic tone for its next phase of growth.</p>\n\n<p>Ultimately, this SWOT analysis affirms that Fleetly AI has not only a strong foundation but also a clear set of strategic levers to pull. It now falls to the leadership team to translate insight into action, ensuring that vision, execution, and risk management evolve in lockstep.</p>\n```\n\n</system_prompt>\n"
},
"promptType": "define"
},
"typeVersion": 1.8
},
{
"id": "109b3c56-5635-4e17-824c-2743483b24dc",
"name": "重新拉取信息2",
"type": "n8n-nodes-base.googleSheets",
"position": [
3440,
960
],
"parameters": {
"options": {},
"sheetName": {
"__rl": true,
"mode": "list",
"value": "gid=0",
"cachedResultUrl": "https://docs.google.com/spreadsheets/d/19k1nKNIj8J63e4LoR2yVDq2YN5fOFMHBOpMnrakLNOM/edit#gid=0",
"cachedResultName": "Company Info Input"
},
"documentId": {
"__rl": true,
"mode": "list",
"value": "19k1nKNIj8J63e4LoR2yVDq2YN5fOFMHBOpMnrakLNOM",
"cachedResultUrl": "https://docs.google.com/spreadsheets/d/19k1nKNIj8J63e4LoR2yVDq2YN5fOFMHBOpMnrakLNOM/edit?usp=drivesdk",
"cachedResultName": "SWOT Analysis"
}
},
"typeVersion": 4.5
},
{
"id": "c41f997b-13eb-4634-a1d4-f5036a29655b",
"name": "上传结论",
"type": "n8n-nodes-base.googleSheets",
"position": [
4040,
760
],
"parameters": {
"columns": {
"value": {
"Conclusion": "={{ $json.output }}",
"Company Name": "={{ $('Google Sheets').item.json['Company Name'] }}"
},
"schema": [
{
"id": "Company Name",
"type": "string",
"display": true,
"removed": false,
"required": false,
"displayName": "Company Name",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "Industry",
"type": "string",
"display": true,
"required": false,
"displayName": "Industry",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "Business Size",
"type": "string",
"display": true,
"required": false,
"displayName": "Business Size",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "Market Region",
"type": "string",
"display": true,
"required": false,
"displayName": "Market Region",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "Unique Value Proposition",
"type": "string",
"display": true,
"required": false,
"displayName": "Unique Value Proposition",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "Company Overview",
"type": "string",
"display": true,
"required": false,
"displayName": "Company Overview",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "Customer Base",
"type": "string",
"display": true,
"required": false,
"displayName": "Customer Base",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "Acquired Resources",
"type": "string",
"display": true,
"required": false,
"displayName": "Acquired Resources",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "Financials",
"type": "string",
"display": true,
"required": false,
"displayName": "Financials",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "Team Expertise",
"type": "string",
"display": true,
"required": false,
"displayName": "Team Expertise",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "Known Weaknesses",
"type": "string",
"display": true,
"required": false,
"displayName": "Known Weaknesses",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "Customer Feedback",
"type": "string",
"display": true,
"required": false,
"displayName": "Customer Feedback",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "Market Trends",
"type": "string",
"display": true,
"required": false,
"displayName": "Market Trends",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "Competitors",
"type": "string",
"display": true,
"required": false,
"displayName": "Competitors",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "Legal/Regulatory Environment",
"type": "string",
"display": true,
"required": false,
"displayName": "Legal/Regulatory Environment",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "Tech Developments",
"type": "string",
"display": true,
"required": false,
"displayName": "Tech Developments",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "Threats (Potential Threats)",
"type": "string",
"display": true,
"required": false,
"displayName": "Threats (Potential Threats)",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "Short-Term Goals",
"type": "string",
"display": true,
"required": false,
"displayName": "Short-Term Goals",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "Long-Term Goals",
"type": "string",
"display": true,
"required": false,
"displayName": "Long-Term Goals",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "Introduction",
"type": "string",
"display": true,
"required": false,
"displayName": "Introduction",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "Strengths Section",
"type": "string",
"display": true,
"required": false,
"displayName": "Strengths Section",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "Weaknesses Section",
"type": "string",
"display": true,
"required": false,
"displayName": "Weaknesses Section",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "Opportunities Section",
"type": "string",
"display": true,
"required": false,
"displayName": "Opportunities Section",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "Threats Section",
"type": "string",
"display": true,
"required": false,
"displayName": "Threats Section",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "Table Of Contents",
"type": "string",
"display": true,
"required": false,
"displayName": "Table Of Contents",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "Conclusion",
"type": "string",
"display": true,
"required": false,
"displayName": "Conclusion",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "Stylized Title Page",
"type": "string",
"display": true,
"removed": false,
"required": false,
"displayName": "Stylized Title Page",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "row_number",
"type": "string",
"display": true,
"removed": true,
"readOnly": true,
"required": false,
"displayName": "row_number",
"defaultMatch": false,
"canBeUsedToMatch": true
}
],
"mappingMode": "defineBelow",
"matchingColumns": [
"Company Name"
],
"attemptToConvertTypes": false,
"convertFieldsToString": false
},
"options": {},
"operation": "update",
"sheetName": {
"__rl": true,
"mode": "list",
"value": "gid=0",
"cachedResultUrl": "https://docs.google.com/spreadsheets/d/19k1nKNIj8J63e4LoR2yVDq2YN5fOFMHBOpMnrakLNOM/edit#gid=0",
"cachedResultName": "Company Info Input"
},
"documentId": {
"__rl": true,
"mode": "list",
"value": "19k1nKNIj8J63e4LoR2yVDq2YN5fOFMHBOpMnrakLNOM",
"cachedResultUrl": "https://docs.google.com/spreadsheets/d/19k1nKNIj8J63e4LoR2yVDq2YN5fOFMHBOpMnrakLNOM/edit?usp=drivesdk",
"cachedResultName": "SWOT Analysis"
}
},
"typeVersion": 4.5,
"alwaysOutputData": true
},
{
"id": "a9c537f8-7305-41e5-b624-1e440a51ae6c",
"name": "生成 PDF",
"type": "n8n-nodes-base.httpRequest",
"position": [
3860,
1360
],
"parameters": {
"url": "https://rest-us.apitemplate.io/v2/create-pdf-from-html",
"method": "POST",
"options": {},
"jsonBody": "={\n \"body\": \"{{$json[\"CombinedContent\"].replace(/\"/g, '\\\\\"').replace(/\\n/g, '\\\\n')}}\",\n \"css\": \"<style>.bg{background: red};</style>\",\n \"data\": {\n \"name\": \"This is a title\"\n },\n \"settings\": {\n \"paper_size\": \"A4\",\n \"orientation\": \"1\",\n \"header_font_size\": \"9px\",\n \"margin_top\": \"40\",\n \"margin_right\": \"10\",\n \"margin_bottom\": \"40\",\n \"margin_left\": \"10\",\n \"print_background\": \"1\",\n \"displayHeaderFooter\": true,\n \"custom_header\": \"<style>#header, #footer { padding: 0 !important; }</style>\\n<table style=\\\"width: 100%; padding: 0px 5px;margin: 0px!important;font-size: 8px\\\">\\n <tr>\\n <td style=\\\"text-align:left; width:30%!important;\\\"><span class=\\\"date\\\"></span></td>\\n <td style=\\\"text-align:center; width:30%!important;\\\"><span class=\\\"pageNumber\\\"></span></td>\\n <td style=\\\"text-align:right; width:30%!important;\\\"><span class=\\\"totalPages\\\"></span></td>\\n </tr>\\n</table>\",\n \"custom_footer\": \"<style>#header, #footer { padding: 0 !important; }</style>\\n<table style=\\\"width: 100%; padding: 0px 5px;margin: 0px!important;font-size: 8px\\\">\\n <tr>\\n <td style=\\\"text-align:left; width:30%!important;\\\"><span class=\\\"date\\\"></span></td>\\n <td style=\\\"text-align:center; width:30%!important;\\\"><span class=\\\"pageNumber\\\"></span></td>\\n <td style=\\\"text-align:right; width:30%!important;\\\"><span class=\\\"totalPages\\\"></span></td>\\n </tr>\\n</table>\"\n }\n}",
"sendBody": true,
"sendQuery": true,
"specifyBody": "json",
"authentication": "predefinedCredentialType",
"queryParameters": {
"parameters": [
{
"name": "filename",
"value": "={{ $json[\"Company Name\"] }}.pdf"
}
]
},
"nodeCredentialType": "apiTemplateIoApi"
},
"typeVersion": 4.2
},
{
"id": "e5d3e7d8-7cf6-448f-b3f7-cd032e122ccd",
"name": "重新拉取信息3",
"type": "n8n-nodes-base.googleSheets",
"position": [
3440,
1360
],
"parameters": {
"options": {},
"sheetName": {
"__rl": true,
"mode": "list",
"value": "gid=0",
"cachedResultUrl": "https://docs.google.com/spreadsheets/d/19k1nKNIj8J63e4LoR2yVDq2YN5fOFMHBOpMnrakLNOM/edit#gid=0",
"cachedResultName": "Company Info Input"
},
"documentId": {
"__rl": true,
"mode": "list",
"value": "19k1nKNIj8J63e4LoR2yVDq2YN5fOFMHBOpMnrakLNOM",
"cachedResultUrl": "https://docs.google.com/spreadsheets/d/19k1nKNIj8J63e4LoR2yVDq2YN5fOFMHBOpMnrakLNOM/edit?usp=drivesdk",
"cachedResultName": "SWOT Analysis"
}
},
"typeVersion": 4.5
},
{
"id": "695600b4-a9d8-4f17-b157-edba4e516948",
"name": "标题页",
"type": "@n8n/n8n-nodes-langchain.agent",
"position": [
3660,
1160
],
"parameters": {
"text": "=**Company Name:** {{ $json['companyName'] }}",
"options": {
"systemMessage": "=<system prompt>\nYOU ARE A SPECIALIZED HTML COMPONENT GENERATOR TASKED WITH CREATING A MINIMAL, CENTERED TITLE PAGE FOR A SWOT ANALYSIS REPORT. THIS HTML WILL BE FED INTO A PDF GENERATION PIPELINE VIA A SPREADSHEET-BASED WORKFLOW. THEREFORE, YOUR OUTPUT MUST BE CLEAN, STRUCTURED, INLINE-STYLED HTML — SUITABLE FOR DIRECT INJECTION INTO A PDF BUILDER.\n\n### INSTRUCTIONS ###\n- ONLY GENERATE THE COVER PAGE CONTENT — DO NOT INCLUDE ANY SWOT SECTIONS OR PLACEHOLDERS\n- CENTER THE ENTIRE CONTENT BLOCK VERTICALLY AND HORIZONTALLY USING INLINE FLEXBOX STYLING\n- USE AN `<h1>` ELEMENT FOR THE MAIN TITLE: “SWOT Analysis of [COMPANY NAME]”\n- INCLUDE A SECOND LINE BELOW IT: \n `<div class=\"attribution\">Made With A Workflow Designed By Automate Business AI</div>`\n- ALL STYLING MUST BE INLINE OR EMBEDDED IN A `<style>` TAG\n- AVOID PAGE BREAK TAGS OR HEIGHT HACKS — SPACING/PAGINATION IS MANAGED EXTERNALLY\n- USE STANDARD HTML QUOTES (`\"`) AND DO NOT WRAP THE OUTPUT IN MARKDOWN CODE BLOCKS OR ESCAPE CHARACTERS\n\n### WHAT NOT TO DO ###\n- DO NOT INCLUDE `<!DOCTYPE html>`, `<html>`, `<head>`, OR `<body>` TAGS\n- DO NOT ADD ANY SWOT SECTIONS OR EXAMPLES\n- DO NOT INCLUDE `page-break-after` OR `<br>` HACKS FOR SPACING\n- NEVER WRAP THE OUTPUT IN MARKDOWN CODE BLOCKS (E.G., ```html)\n- NEVER ESCAPE QUOTES OR USE SMART QUOTES (e.g., “”)\n- DO NOT OUTPUT RAW TEXT — OUTPUT MUST BE VALID HTML STRUCTURE\n\n### FEW-SHOT EXAMPLE ###\n\n<USER INPUT: COMPANY NAME> \nHelioSyn Biotech\n\n<ASSISTANT RESPONSE>\n<div style=\"display: flex; flex-direction: column; justify-content: center; align-items: center; height: 100vh; font-family: sans-serif; text-align: center;\">\n <h1 style=\"font-size: 3em; margin-bottom: 20px;\">SWOT Analysis of HelioSyn Biotech</h1>\n <div class=\"attribution\" style=\"font-size: 1.1em; color: #555;\">Made With A Workflow Designed By Automate Business AI</div>\n</div>\n</ASSISTANT RESPONSE>\n\n</system prompt>\n"
},
"promptType": "define"
},
"typeVersion": 1.8
},
{
"id": "b8ae68a9-3097-40da-871f-765dbac3f107",
"name": "发送目录1",
"type": "n8n-nodes-base.googleSheets",
"position": [
4040,
1160
],
"parameters": {
"columns": {
"value": {
"Company Name": "={{ $('Pull Info Again2').item.json['Company Name'] }}",
"Stylized Title Page": "={{ $json.output }}"
},
"schema": [
{
"id": "Company Name",
"type": "string",
"display": true,
"removed": false,
"required": false,
"displayName": "Company Name",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "Industry",
"type": "string",
"display": true,
"removed": false,
"required": false,
"displayName": "Industry",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "Business Size",
"type": "string",
"display": true,
"removed": false,
"required": false,
"displayName": "Business Size",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "Market Region",
"type": "string",
"display": true,
"removed": false,
"required": false,
"displayName": "Market Region",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "Unique Value Proposition",
"type": "string",
"display": true,
"removed": false,
"required": false,
"displayName": "Unique Value Proposition",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "Company Overview",
"type": "string",
"display": true,
"removed": false,
"required": false,
"displayName": "Company Overview",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "Customer Base",
"type": "string",
"display": true,
"removed": false,
"required": false,
"displayName": "Customer Base",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "Acquired Resources",
"type": "string",
"display": true,
"removed": false,
"required": false,
"displayName": "Acquired Resources",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "Financials",
"type": "string",
"display": true,
"removed": false,
"required": false,
"displayName": "Financials",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "Team Expertise",
"type": "string",
"display": true,
"removed": false,
"required": false,
"displayName": "Team Expertise",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "Known Weaknesses",
"type": "string",
"display": true,
"removed": false,
"required": false,
"displayName": "Known Weaknesses",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "Customer Feedback",
"type": "string",
"display": true,
"removed": false,
"required": false,
"displayName": "Customer Feedback",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "Market Trends",
"type": "string",
"display": true,
"removed": false,
"required": false,
"displayName": "Market Trends",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "Competitors",
"type": "string",
"display": true,
"removed": false,
"required": false,
"displayName": "Competitors",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "Legal/Regulatory Environment",
"type": "string",
"display": true,
"removed": false,
"required": false,
"displayName": "Legal/Regulatory Environment",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "Tech Developments",
"type": "string",
"display": true,
"removed": false,
"required": false,
"displayName": "Tech Developments",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "Threats (Potential Threats)",
"type": "string",
"display": true,
"removed": false,
"required": false,
"displayName": "Threats (Potential Threats)",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "Short-Term Goals",
"type": "string",
"display": true,
"removed": false,
"required": false,
"displayName": "Short-Term Goals",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "Long-Term Goals",
"type": "string",
"display": true,
"removed": false,
"required": false,
"displayName": "Long-Term Goals",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "Introduction",
"type": "string",
"display": true,
"removed": true,
"required": false,
"displayName": "Introduction",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "Strengths Section",
"type": "string",
"display": true,
"removed": false,
"required": false,
"displayName": "Strengths Section",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "Weaknesses Section",
"type": "string",
"display": true,
"removed": false,
"required": false,
"displayName": "Weaknesses Section",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "Opportunities Section",
"type": "string",
"display": true,
"removed": false,
"required": false,
"displayName": "Opportunities Section",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "Threats Section",
"type": "string",
"display": true,
"removed": false,
"required": false,
"displayName": "Threats Section",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "Table Of Contents",
"type": "string",
"display": true,
"removed": false,
"required": false,
"displayName": "Table Of Contents",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "Conclusion",
"type": "string",
"display": true,
"removed": false,
"required": false,
"displayName": "Conclusion",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "Stylized Title Page",
"type": "string",
"display": true,
"removed": false,
"required": false,
"displayName": "Stylized Title Page",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "row_number",
"type": "string",
"display": true,
"removed": true,
"readOnly": true,
"required": false,
"displayName": "row_number",
"defaultMatch": false,
"canBeUsedToMatch": true
}
],
"mappingMode": "defineBelow",
"matchingColumns": [
"Company Name"
],
"attemptToConvertTypes": false,
"convertFieldsToString": false
},
"options": {},
"operation": "update",
"sheetName": {
"__rl": true,
"mode": "list",
"value": "gid=0",
"cachedResultUrl": "https://docs.google.com/spreadsheets/d/19k1nKNIj8J63e4LoR2yVDq2YN5fOFMHBOpMnrakLNOM/edit#gid=0",
"cachedResultName": "Company Info Input"
},
"documentId": {
"__rl": true,
"mode": "list",
"value": "19k1nKNIj8J63e4LoR2yVDq2YN5fOFMHBOpMnrakLNOM",
"cachedResultUrl": "https://docs.google.com/spreadsheets/d/19k1nKNIj8J63e4LoR2yVDq2YN5fOFMHBOpMnrakLNOM/edit?usp=drivesdk",
"cachedResultName": "SWOT Analysis"
}
},
"typeVersion": 4.5
},
{
"id": "dfa295a8-57d0-48bb-bf33-1dd213490489",
"name": "获取名称",
"type": "n8n-nodes-base.set",
"position": [
3440,
1160
],
"parameters": {
"options": {},
"assignments": {
"assignments": [
{
"id": "cf329d27-52d6-4355-9b54-75603ca17bb8",
"name": "companyName",
"type": "string",
"value": "={{ $json[\"Company Name\"] }}"
}
]
}
},
"typeVersion": 3.4
},
{
"id": "1e79e1bd-90cb-4f23-927b-c09b8de6f495",
"name": "便签1",
"type": "n8n-nodes-base.stickyNote",
"position": [
-60,
460
],
"parameters": {
"width": 1060,
"height": 1000,
"content": "# ⚙️ 设置指南"
},
"typeVersion": 1
}
],
"active": false,
"pinData": {},
"settings": {
"executionOrder": "v1"
},
"versionId": "293ccae2-dba7-4d9b-85f8-48819fc3a178",
"connections": {
"Limit": {
"main": [
[
{
"node": "Pull Info Again",
"type": "main",
"index": 0
}
]
]
},
"Merge": {
"main": [
[
{
"node": "Limit",
"type": "main",
"index": 0
}
]
]
},
"GetName": {
"main": [
[
{
"node": "Title Page",
"type": "main",
"index": 0
}
]
]
},
"AI Agent": {
"main": [
[
{
"node": "Strengths Analysis",
"type": "main",
"index": 0
},
{
"node": "Weaknesses Analysis",
"type": "main",
"index": 0
},
{
"node": "Opportunities Analysis",
"type": "main",
"index": 0
},
{
"node": "Threats Analysis",
"type": "main",
"index": 0
}
]
]
},
"Send ToC": {
"main": [
[
{
"node": "GetName",
"type": "main",
"index": 0
}
]
]
},
"Send ToC1": {
"main": [
[
{
"node": "Pull Info Again3",
"type": "main",
"index": 0
}
]
]
},
"Title Page": {
"main": [
[
{
"node": "Send ToC1",
"type": "main",
"index": 0
}
]
]
},
"Download PDF": {
"main": [
[
{
"node": "Send Report",
"type": "main",
"index": 0
}
]
]
},
"Generate PDF": {
"main": [
[
{
"node": "Download PDF",
"type": "main",
"index": 0
}
]
]
},
"Google Sheets": {
"main": [
[
{
"node": "AI Agent",
"type": "main",
"index": 0
}
]
]
},
"Upload Threats": {
"main": [
[
{
"node": "Merge",
"type": "main",
"index": 3
}
]
]
},
"Combine Content": {
"main": [
[
{
"node": "Generate PDF",
"type": "main",
"index": 0
}
]
]
},
"OpenAI 4.1-nano": {
"ai_languageModel": [
[
{
"node": "Threats Section Formatting",
"type": "ai_languageModel",
"index": 0
},
{
"node": "Opportunities Section Formatting",
"type": "ai_languageModel",
"index": 0
},
{
"node": "Weaknesses Section Formatting",
"type": "ai_languageModel",
"index": 0
},
{
"node": "Strengths Section Formatting",
"type": "ai_languageModel",
"index": 0
}
]
]
},
"Pull Info Again": {
"main": [
[
{
"node": "Write The Introduction",
"type": "main",
"index": 0
}
]
]
},
"Pull Info Again1": {
"main": [
[
{
"node": "Write The Conclusion",
"type": "main",
"index": 0
}
]
]
},
"Pull Info Again2": {
"main": [
[
{
"node": "Table of Contents",
"type": "main",
"index": 0
}
]
]
},
"Pull Info Again3": {
"main": [
[
{
"node": "Combine Content",
"type": "main",
"index": 0
}
]
]
},
"Threats Analysis": {
"main": [
[
{
"node": "Threats Section Formatting",
"type": "main",
"index": 0
}
]
]
},
"Upload Strengths": {
"main": [
[
{
"node": "Merge",
"type": "main",
"index": 0
}
]
]
},
"DeepSeek Reasoner": {
"ai_languageModel": [
[
{
"node": "Strengths Analysis",
"type": "ai_languageModel",
"index": 0
},
{
"node": "Threats Analysis",
"type": "ai_languageModel",
"index": 0
},
{
"node": "Opportunities Analysis",
"type": "ai_languageModel",
"index": 0
},
{
"node": "Weaknesses Analysis",
"type": "ai_languageModel",
"index": 0
}
]
]
},
"OpenAI Chat Model": {
"ai_languageModel": [
[
{
"node": "AI Agent",
"type": "ai_languageModel",
"index": 0
}
]
]
},
"Table of Contents": {
"main": [
[
{
"node": "Send ToC",
"type": "main",
"index": 0
}
]
]
},
"Upload Conclusion": {
"main": [
[
{
"node": "Pull Info Again2",
"type": "main",
"index": 0
}
]
]
},
"Upload Weaknesses": {
"main": [
[
{
"node": "Merge",
"type": "main",
"index": 1
}
]
]
},
"OpenAI Chat Model2": {
"ai_languageModel": [
[
{
"node": "Table of Contents",
"type": "ai_languageModel",
"index": 0
},
{
"node": "Write The Introduction",
"type": "ai_languageModel",
"index": 0
},
{
"node": "Write The Conclusion",
"type": "ai_languageModel",
"index": 0
},
{
"node": "Title Page",
"type": "ai_languageModel",
"index": 0
}
]
]
},
"Strengths Analysis": {
"main": [
[
{
"node": "Strengths Section Formatting",
"type": "main",
"index": 0
}
]
]
},
"Upload Introduction": {
"main": [
[
{
"node": "Pull Info Again1",
"type": "main",
"index": 0
}
]
]
},
"Weaknesses Analysis": {
"main": [
[
{
"node": "Weaknesses Section Formatting",
"type": "main",
"index": 0
}
]
]
},
"Upload Opportunities": {
"main": [
[
{
"node": "Merge",
"type": "main",
"index": 2
}
]
]
},
"Write The Conclusion": {
"main": [
[
{
"node": "Upload Conclusion",
"type": "main",
"index": 0
}
]
]
},
"Opportunities Analysis": {
"main": [
[
{
"node": "Opportunities Section Formatting",
"type": "main",
"index": 0
}
]
]
},
"Write The Introduction": {
"main": [
[
{
"node": "Upload Introduction",
"type": "main",
"index": 0
}
]
]
},
"Structured Output Parser": {
"ai_outputParser": [
[
{
"node": "AI Agent",
"type": "ai_outputParser",
"index": 0
}
]
]
},
"Threats Section Formatting": {
"main": [
[
{
"node": "Upload Threats",
"type": "main",
"index": 0
}
]
]
},
"Strengths Section Formatting": {
"main": [
[
{
"node": "Upload Strengths",
"type": "main",
"index": 0
}
]
]
},
"Weaknesses Section Formatting": {
"main": [
[
{
"node": "Upload Weaknesses",
"type": "main",
"index": 0
}
]
]
},
"Opportunities Section Formatting": {
"main": [
[
{
"node": "Upload Opportunities",
"type": "main",
"index": 0
}
]
]
},
"When clicking ‘Test workflow’": {
"main": [
[
{
"node": "Google Sheets",
"type": "main",
"index": 0
}
]
]
}
}
}常见问题
如何使用这个工作流?
复制上方的 JSON 配置代码,在您的 n8n 实例中创建新工作流并选择「从 JSON 导入」,粘贴配置后根据需要修改凭证设置即可。
这个工作流适合什么场景?
高级 - 市场调研, 多模态 AI
需要付费吗?
本工作流完全免费,您可以直接导入使用。但请注意,工作流中使用的第三方服务(如 OpenAI API)可能需要您自行付费。
相关工作流推荐
在可视化参考库中探索n8n节点
在可视化参考库中探索n8n节点
If
Ftp
Set
+93
113 节点I versus AI
其他
使用OpenAI、RunwayML和ElevenLabs自动化无脸短视频
使用OpenAI、RunwayML和ElevenLabs自动化无脸短视频:从脚本到社交媒体
Set
Code
Wait
+18
56 节点LeeWei
内容创作
Apollo 数据抓取与触达流程 1 ✅
使用 Apollo、AI 解析和定时邮件跟进自动生成潜在客户
If
Code
Wait
+13
39 节点Deniz
内容创作
WordPress博客自动化专业版(深度研究)v2.1市场
使用GPT-4o、Perplexity AI和多语言支持自动化SEO优化的博客创建
If
Set
Xml
+27
125 节点Daniel Ng
内容创作
使用 OpenAI、ElevenLabs 和 Fal.ai 自动化病毒式内容创作,适用于视频、播客和 ASMR
使用 OpenAI、ElevenLabs 和 Fal.ai 自动化病毒式内容创作,适用于视频、播客和 ASMR
Set
Code
Wait
+16
97 节点Adam Crafts
内容创作
基于 YouTube 视频的自主博客发布
使用 ChatGPT、Sheets、Apify、Pexels 和 WordPress 从 YouTube 视频自主发布博客
If
Set
Code
+18
80 节点Oriol Seguí
内容创作