Darmowy szablon automatyzacji

Generuj artykuły bazy wiedzy za pomocą GPT i Perplexity AI dla Contentful CMS

2728
1 mies. temu
25
bloków


O twórcach

Ten workflow został stworzony przez Varritech Technologies, innowacyjną agencję wykorzystującą sztuczną inteligencję do projektowania i dostarczania rozwiązań programistycznych 500% szybciej niż tradycyjne agencje. Z siedzibą w Nowym Jorku, specjalizują się w tworzeniu oprogramowania na zamówienie, aplikacjach internetowych i rozwiązaniach związanych z transformacją cyfrową.

Przegląd architektury

Ten workflow automatyzuje proces tworzenia strukturyzowanego artykułu do bazy wiedzy na podstawie prostego promptu:

  • Chat Trigger → Odbiera żądanie użytkownika
  • AI Drafting Loop → Generuje i udoskonala artykuł w formacie JSON
  • Perplexity Research Call → Generuje szczegółową treść
  • Editorial Loop → Do 3 iteracji poprawiających artykuł
  • Contentful Publish → Publikuje finalny JSON w CMS

Szczegółowy opis węzłów

Przebieg workflow:

flowchart LR
  A[Webhook: Chat Trigger] --> B[AI Writer Agent]
  B --> C[HTTP Request: Perplexity Content]
  C --> D[Function: Format Output & Citations]
  D --> E[Loop Start: Initialize Count]
  E --> F[AI Editor Agent]
  F --> G{action == "rewrite"?}
  G -- yes --> H[Function: Merge Improvements]
  H --> I[Increment Count] --> F
  G -- no --> J[Stop Loop]
  J --> K[HTTP Request: Publish to Contentful]

Webhook: Chat Trigger

Typ: HTTP Webhook (POST /webhook/knowledge-article)

Przykładowy payload:

{ 
  "chatInput": "What topics should I write about?" 
}

Cel: Rozpoczyna workflow na podstawie promptu.

AI Writer Agent

Wejścia: chatInput lub istniejący JSON artykułu

Wyjścia:

{
  "title": "...",
  "slug": "...",
  "category.id": "...",
  "description": "...",
  "keywords": [...],
  "content": "...",
  "metaTitle": "...",
  "metaDescription": "...",
  "readingTime": 5,
  "difficulty": "intermediate"
}

Cel: Generuje szkielet artykułu (metadane + wstępna treść).

HTTP Request: Perplexity Content

Metoda: POST

URL: https://api.perplexity.ai/research

Body:

{
  "model": "sonar-deep-research",
  "query": "{{ $json.title }}",
  "length": 1000
}

Cel: Pobiera szczegółowo zbadaną treść do artykułu.

Function: Format Output & Citations

Logika:

  • Parsuje odpowiedź z Perplexity
  • Wyodrębnia źródła
  • Dodaje je jako listę w formacie markdown

Editorial Loop

  • Inicjalizuje licznik na 0
  • AI Editor Agent czyta draft JSON i zwraca:
    • action: "rewrite" + improvements: [...]
    • lub action: "submit"
  • Merge Improvements (jeśli rewrite) - stosuje sugerowane zmiany
  • Limit Check - zatrzymuje się po 3 iteracjach lub na "submit"

HTTP Request: Publish to Contentful

Metoda: PUT

URL: https://cdn.contentful.com/spaces/{space}/environments/master/entries/{entryId}

Headers:

Authorization: Bearer <token>
Content-Type: application/vnd.contentful.management.v1+json

Body: Mapuje JSON na pola Contentful

Rezultat: Publikuje finalny artykuł.

Założenia projektowe i najlepsze praktyki

  • Separacja odpowiedzialności - osobne agenty do pisania i edycji
  • Idempotentny loop - licznik i flagi action zapobiegają nieskończonym powtórzeniom
  • Rozszerzalność - możliwość łatwej zamiany API badawczych lub CMS
  • Struktura JSON - zapewnia przewidywalne wejścia/wyjścia dla każdego węzła

Przykłady zastosowań

Ta automatyzacja może być wykorzystana w wielu scenariuszach związanych z tworzeniem i zarządzaniem treścią:

  • Automatyczne generowanie artykułów do wewnętrznej bazy wiedzy
  • Tworzenie dokumentacji technicznej na podstawie promptów
  • Generowanie treści na bloga firmowego
  • Przygotowywanie materiałów szkoleniowych
  • Tworzenie FAQ i sekcji pomocy
  • Generowanie opisów produktów
  • Przygotowywanie treści marketingowych


   Skopiuj kod szablonu   
{"id":"WwEFqNK4YP6UJcg2","meta":{"instanceId":"6bcff5ef8a06e8086902526a05c2a4c7bf5da8101f89e582301ed78094606f40","templateCredsSetupCompleted":true},"name":"Auto Knowledge Base Article Generator","tags":[],"nodes":[{"id":"17900021-8da3-4bd9-9d79-5d20d879ddc7","name":"Create Perplexity Content","type":"n8n-nodes-base.httpRequest","position":[1220,380],"parameters":{"url":"https://api.perplexity.ai/chat/completions","method":"POST","options":{},"jsonBody":"={n "model": "sonar-deep-research",n "messages": [n {n "role": "user",n "content": "Conduct an in-depth research on '{{ $json.output.parseJson().title }}', covering essential topics, recommended resources, and best practices. Additionally, please address these improvements: '{{ $json.output.parseJson().improvements }}'. The returned data should be at least 1000 words and use a combination of headers, tables, bold, and italics"n }n ],n "max_tokens": 60000,n "temperature": 0.7,n "top_p": 0.9,n "top_k": 50,n "stream": false,n "presence_penalty": 0,n "frequency_penalty": 0n}","sendBody":true,"jsonHeaders":"{n "Authorization": "Bearer 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",n "Content-Type": "application/json"n}","sendHeaders":true,"specifyBody":"json","specifyHeaders":"json"},"typeVersion":4.2},{"id":"0cb3f3a7-92bd-4ff3-8a89-b6fc29513e65","name":"AI Writer Agent","type":"@n8n/n8n-nodes-langchain.agent","position":[720,380],"parameters":{"text":"=Please create or revise an article about "{{ $json.chatInput }}".nnOr an article is already written because title: {{ $json.title }} is defined. Reference it to rewrite the {{ $json.content }} fieldnnDo not change the title, either the chatinput or the input article title. This is the title, do not change it.nnIf an article is NOT given, pick new categories in:n- getting-startedn- learning-pathsn- certificationsn- programmingn- applicationsn- careernnDo not make up a category, it should be the same in the exact case as abovennIf an article is given, only make ammendments to the content based on these specific improvements to include: "{{ $json.improvements }}".nnInclude the improvements key only if it is an input, and in that case don't change itnnRemember to return valid JSON with the fields:n{n "title": "...",n "slug": "...",n "category": {n "id": "..."n },n "description": "...",n "keywords": [...],n "content": "...",n "metaTitle": "...",n "metaDescription": "...",n "readingTime": "...",n "difficulty": "..."n "content": "..."n}","options":{"systemMessage":"You are a writing assistant. You will receive instructions to create or update an article in JSON format with the following structure:nn{n "title": "",n "slug": "",n "category": {n "id": "" // e.g., "getting-started", "learning-paths", etc.n },n "description": "",n "keywords": ["", "", ...],n "content": "",n "metaTitle": "",n "metaDescription": "",n "readingTime": "",n "difficulty": ""n}nnYour task:n1. Produce a complete article in the above format, or revise the existing article if provided.n2. Make sure the text is clear, specific, and helpful to the reader.n3. Return valid JSON only – do not include extra commentary or fields beyond the above structure.n4. If any information is missing from the user instructions, make reasonable assumptions.n"},"promptType":"define"},"typeVersion":1.7},{"id":"bc62facb-c5cb-465d-89b1-a65a893c3ce1","name":"AI Editor Agent","type":"@n8n/n8n-nodes-langchain.agent","position":[2280,380],"parameters":{"text":"={{ $json }}","options":{"maxIterations":5,"systemMessage":"=You are an editorial AI assistant. Your role is to review and evaluate a draft article represented as a JSON object.nnCategory IDs:n- "getting-started"n- "learning-paths"n- "certifications"n- "programming"n- "applications"n- "career"nnInput Format:nn{n "title": "",n "slug": "",n "category": { "id": "" },n "description": "",n "keywords": ["", "..."],n "content": "",n "metaTitle": "",n "metaDescription": "",n "readingTime": "",n "difficulty": ""n}nnYour Tasks:nn1. Evaluate the quality of the article — especially the title, description, content, and metadata.n2. Comment on clarity, specificity, usefulness, and overall quality.n3. If improvements are needed, add an "improvements" field describing exactly what to fix.n4. Set the "action" field:n- "rewrite" if improvements are needed.n- "submit" if the article is high quality.n5. Include all fields from the original input in your output.n6. If "action" is "submit", set "improvements" to null.n7. Avoid repeating feedback across iterations.n8. After 2 iterations, automatically call the accept-and-publish tool and set the "action" to "submit".n9. VERY IMPORTANT: Do NOT modify any of the input fieldsn10. VERY IMPORTANT: Do NOT truncate the sources or modify the content field in any waynn✅ Output Format:nn{n "title": "...",n "action": "rewrite | submit",n "improvements": "... | null",n "slug": "...",n "category": {n "id": "..."n },n "description": "...",n "keywords": ["..."],n "content": "...",n "metaTitle": "...",n "metaDescription": "...",n "readingTime": "...",n "difficulty": "..."n}nnTone: Be concise, direct, and constructive. Focus on maximizing clarity, usefulness, and readability for the end reader."},"promptType":"define","hasOutputParser":true},"retryOnFail":true,"typeVersion":1.7},{"id":"8c08d67a-b916-4cfd-89cd-16b34250bcb2","name":"OpenAI Chat Model","type":"@n8n/n8n-nodes-langchain.lmChatOpenAi","position":[680,640],"parameters":{"model":{"__rl":true,"mode":"list","value":"gpt-3.5-turbo","cachedResultName":"gpt-3.5-turbo"},"options":{}},"credentials":{"openAiApi":{"id":"KLN8ZfDzv8mW6pyu","name":"OpenAi account"}},"typeVersion":1.2},{"id":"97bb1374-f502-4152-a5a3-bc5d46a18171","name":"OpenAI Chat Model1","type":"@n8n/n8n-nodes-langchain.lmChatOpenAi","position":[2200,660],"parameters":{"model":{"__rl":true,"mode":"list","value":"gpt-4.5-preview","cachedResultName":"gpt-4.5-preview"},"options":{}},"credentials":{"openAiApi":{"id":"KLN8ZfDzv8mW6pyu","name":"OpenAi account"}},"typeVersion":1.2},{"id":"1c422e76-5b1a-4615-b379-ab39d4bd13b4","name":"Accept and Publish","type":"@n8n/n8n-nodes-langchain.toolWorkflow","position":[2420,660],"parameters":{"name":"submit","workflowId":{"__rl":true,"mode":"list","value":"uIREtTV8TRuF3lru","cachedResultName":"Publish to Contentful"},"description":"Call this tool when the article quality is above the threshold we need","workflowInputs":{"value":{"slug":"= {{ $json.slug }}","title":"={{ $('Format').item.json.title }}","content":"={{ $json.content }}","category":"={{ $json.category }}","keywords":"={{ $json.keywords }}","metaTitle":"={{ $json.metaTitle }}","difficulty":"={{ $json.difficulty }}","description":"={{ $json.description }}","readingTime":"={{ $json.readingTime }}","metaDescription":"={{ $json.metaDescription }}"},"schema":[{"id":"title","type":"string","display":true,"removed":false,"required":false,"displayName":"title","defaultMatch":false,"canBeUsedToMatch":true},{"id":"action","type":"string","display":true,"removed":true,"required":false,"displayName":"action","defaultMatch":false,"canBeUsedToMatch":true},{"id":"improvements","type":"string","display":true,"removed":true,"required":false,"displayName":"improvements","defaultMatch":false,"canBeUsedToMatch":true},{"id":"slug","type":"string","display":true,"removed":false,"required":false,"displayName":"slug","defaultMatch":false,"canBeUsedToMatch":true},{"id":"category","type":"object","display":true,"removed":false,"required":false,"displayName":"category","defaultMatch":false,"canBeUsedToMatch":true},{"id":"description","type":"string","display":true,"removed":false,"required":false,"displayName":"description","defaultMatch":false,"canBeUsedToMatch":true},{"id":"keywords","type":"array","display":true,"removed":false,"required":false,"displayName":"keywords","defaultMatch":false,"canBeUsedToMatch":true},{"id":"content","type":"string","display":true,"removed":false,"required":false,"displayName":"content","defaultMatch":false,"canBeUsedToMatch":true},{"id":"metaTitle","type":"string","display":true,"removed":false,"required":false,"displayName":"metaTitle","defaultMatch":false,"canBeUsedToMatch":true},{"id":"metaDescription","type":"string","display":true,"removed":false,"required":false,"displayName":"metaDescription","defaultMatch":false,"canBeUsedToMatch":true},{"id":"readingTime","type":"string","display":true,"removed":false,"required":false,"displayName":"readingTime","defaultMatch":false,"canBeUsedToMatch":true},{"id":"difficulty","type":"string","display":true,"removed":false,"required":false,"displayName":"difficulty","defaultMatch":false,"canBeUsedToMatch":true}],"mappingMode":"defineBelow","matchingColumns":[],"attemptToConvertTypes":false,"convertFieldsToString":false}},"typeVersion":2},{"id":"b6807e84-900a-48fc-a869-862824c62ba1","name":"When chat message received","type":"@n8n/n8n-nodes-langchain.chatTrigger","position":[-60,660],"webhookId":"7ed20abc-d8bc-4426-95f1-b9778c075ddf","parameters":{"public":true,"options":{},"initialMessages":"What topics should I write about?"},"typeVersion":1.1},{"id":"e3021ac4-9444-4689-af0c-a4bbd4729c35","name":"JSON.parse1","type":"n8n-nodes-base.code","position":[1320,120],"parameters":{"mode":"runOnceForEachItem","jsCode":"const outputText = $json.output;nn// Parse JSON from ChatGPT responsenconst parsedOutput = JSON.parse(outputText);nn// Return parsed object for next nodesnreturn parsedOutput;"},"typeVersion":2},{"id":"d6a5eccd-c8e3-4ee0-beb0-7b8fc8428b91","name":"Merge","type":"n8n-nodes-base.merge","position":[1840,380],"parameters":{"numberInputs":3},"typeVersion":3},{"id":"8461a1a0-a984-4ec1-bc93-3a1a312caf55","name":"Format","type":"n8n-nodes-base.code","position":[2060,380],"parameters":{"jsCode":"// Get all items passed into this node as an arraynconst items = $input.all();nn// If you always have at least two items:nconst firstItem = items[0].json;nconst secondItem = items[1].json;nconst thirdItem = items[2].json;nn// Overwrite the first item’s “content” with the second item’s “content”nfirstItem.content = secondItem.content;nfirstItem.iterationCount = thirdItem.iterationCountnn// Return a single new item containing the merged resultnreturn [n {n json: firstItemn }n];"},"typeVersion":2},{"id":"9b9a82fb-990c-4be0-aee9-ed80f0631c28","name":"JSON.parse","type":"n8n-nodes-base.code","position":[3300,840],"parameters":{"mode":"runOnceForEachItem","jsCode":"const outputText = $json.output;nn// Parse JSON from ChatGPT responsenconst parsedOutput = JSON.parse(outputText);nn// Return parsed object for next nodesnreturn parsedOutput;"},"typeVersion":2},{"id":"066dfd10-e97a-44a8-89e0-5b2b5c4a6244","name":"Format Perplexity Output & Add Citations","type":"n8n-nodes-base.code","position":[1480,380],"parameters":{"mode":"runOnceForEachItem","jsCode":"const data = { ...$json };nn// Clean out block if presentndata.content = $json.choices[0].message.content.replace(/[\s\S]*?<\/think>/g, '').trim();nn// Convert citations array to markdown link listnconst citations = $json.citationsn .map((url, i) => `- [${i + 1}](${url})`)n .join('\n');nndata.content += `\n\n---\n\n### Sources\n${citations}`;nnreturn data;"},"typeVersion":2},{"id":"fc9d9e93-568a-41af-a295-8736617b157e","name":"Initialize Count","type":"n8n-nodes-base.set","position":[340,660],"parameters":{"values":{"number":[{"name":"iterationCount"}]},"options":{}},"typeVersion":1},{"id":"b0e636dd-f572-4ee2-832f-4bb4167b011b","name":"Increment Count","type":"n8n-nodes-base.function","position":[1400,740],"parameters":{"functionCode":"const current = $json.iterationCount || 0;nnreturn [{ iterationCount: current + 1 }];"},"typeVersion":1},{"id":"86689f0e-9607-4eda-bcd6-36241d0cbe63","name":"Check Limit","type":"n8n-nodes-base.if","position":[2660,380],"parameters":{"conditions":{"number":[{"value1":"={{ $json.iterationCount }}","value2":3,"operation":"largerEqual"}]}},"typeVersion":1},{"id":"0f42b0f3-0b96-40df-9c06-2a6d31e142d9","name":"Stop Here","type":"n8n-nodes-base.noOp","position":[2980,300],"parameters":{},"typeVersion":1},{"id":"1e61b3ba-e9bd-43c7-8217-d4a22f707318","name":"Execute Workflow","type":"n8n-nodes-base.executeWorkflow","position":[3680,320],"parameters":{"options":{},"workflowId":{"__rl":true,"mode":"list","value":"uIREtTV8TRuF3lru","cachedResultName":"Publish to Contentful"},"workflowInputs":{"value":{"slug":"={{ $json.slug }}","title":"={{ $json.title }}","content":"={{ $json.content }}","category":"={{ $json.category }}","keywords":"={{ $json.keywords }}","metaTitle":"={{ $json.metaTitle }}","difficulty":"={{ $json.difficulty }}","description":"={{ $json.description }}","readingTime":"={{ $json.readingTime }}","metaDescription":"={{ $json.metaDescription }}"},"schema":[{"id":"title","type":"string","display":true,"required":false,"displayName":"title","defaultMatch":false,"canBeUsedToMatch":true},{"id":"slug","type":"string","display":true,"required":false,"displayName":"slug","defaultMatch":false,"canBeUsedToMatch":true},{"id":"category","type":"object","display":true,"required":false,"displayName":"category","defaultMatch":false,"canBeUsedToMatch":true},{"id":"description","type":"string","display":true,"required":false,"displayName":"description","defaultMatch":false,"canBeUsedToMatch":true},{"id":"keywords","type":"array","display":true,"required":false,"displayName":"keywords","defaultMatch":false,"canBeUsedToMatch":true},{"id":"content","type":"string","display":true,"required":false,"displayName":"content","defaultMatch":false,"canBeUsedToMatch":true},{"id":"metaTitle","type":"string","display":true,"required":false,"displayName":"metaTitle","defaultMatch":false,"canBeUsedToMatch":true},{"id":"metaDescription","type":"string","display":true,"required":false,"displayName":"metaDescription","defaultMatch":false,"canBeUsedToMatch":true},{"id":"readingTime","type":"string","display":true,"required":false,"displayName":"readingTime","defaultMatch":false,"canBeUsedToMatch":true},{"id":"difficulty","type":"string","display":true,"required":false,"displayName":"difficulty","defaultMatch":false,"canBeUsedToMatch":true}],"mappingMode":"defineBelow","matchingColumns":[],"attemptToConvertTypes":false,"convertFieldsToString":true}},"typeVersion":1.2},{"id":"04526224-e48c-4032-9c92-475c6bf9cd0a","name":"JSON.parse3","type":"n8n-nodes-base.code","position":[3280,300],"parameters":{"mode":"runOnceForEachItem","jsCode":"const outputText = $json.output;nn// Parse JSON from ChatGPT responsenconst parsedOutput = JSON.parse(outputText);nn// Return parsed object for next nodesnreturn parsedOutput;"},"typeVersion":2},{"id":"0303ab91-b788-4074-a15d-239565528dec","name":"should submit","type":"n8n-nodes-base.if","position":[2980,680],"parameters":{"options":{},"conditions":{"options":{"version":2,"leftValue":"","caseSensitive":true,"typeValidation":"strict"},"combinator":"and","conditions":[{"id":"3c1f6cb2-a556-4c74-885e-05e4f757997b","operator":{"name":"filter.operator.equals","type":"string","operation":"equals"},"leftValue":"submit","rightValue":"={{ $json.output.parseJson().action }}"}]}},"typeVersion":2.2},{"id":"4f68e1ad-0b7c-41ca-a9cc-d220017cc1bd","name":"Sticky Note","type":"n8n-nodes-base.stickyNote","position":[540,80],"parameters":{"width":940,"height":680,"content":"## Writer Agentnn- Focuses on writing for all the fields in contentfuln- Has a specified format for input and outputn- Handles implementing feedback from editor agent"},"typeVersion":1},{"id":"f5e9968a-0681-4b72-9bb3-98750f55565e","name":"Sticky Note1","type":"n8n-nodes-base.stickyNote","position":[2620,120],"parameters":{"width":860,"height":880,"content":"## Count Incrementernn- Tracks a variable count to ensure the flow hits a max number of feedback iterations.n- This is critical for feedback to avoid hitting an infinite loop."},"typeVersion":1},{"id":"462e6c9a-162a-4f66-b846-14b29517454c","name":"Sticky Note2","type":"n8n-nodes-base.stickyNote","position":[2120,160],"parameters":{"width":460,"height":640,"content":"## Editor Agentnn- Sole purpose is to look at the quality of output for the previous combo of perplexity & openAI Agent.n- Determines if it is publishable or not."},"typeVersion":1},{"id":"27149a0a-ab95-4f73-a20c-34167ac56d2a","name":"Sticky Note3","type":"n8n-nodes-base.stickyNote","position":[3520,60],"parameters":{"width":460,"height":480,"content":"## Publish To Contentfulnn- Publishes to Contentful by converting the fields to the appropriate fields for the contentful POST create content API.n- Converts the article to Rich Text formatting specifically for Contentful by using another AI formatter trained on it's specs.nnemail us if you want that flow too: christian@varritech.com"},"typeVersion":1},{"id":"3b6386cc-7965-47ae-88e3-8841ada43579","name":"Sticky Note4","type":"n8n-nodes-base.stickyNote","position":[-220,-180],"parameters":{"color":3,"width":720,"height":780,"content":"# Varritech Free Workflows for n8nnnAccess our collection of **free, ready-to-use n8n workflows** designed to streamline your data operations and automation needs.nn## What You'll Get:n- Pre-built data integration workflowsn- Time-saving automation templatesn- Step-by-step implementation guidesn- Regular updates with new workflowsnn## How to Use:n1. Download our free workflowsn2. Import into your n8n instancen3. Configure with your credentialsn4. Start automating immediatelynn**Note:** For additional workflows, tutorials, and technical support, visit our website at [varritech.com](https://varritech.com)nn*Unlock the full potential of n8n with Varritech's workflow solutions!*"},"typeVersion":1},{"id":"376c9b0d-8ef6-4681-900d-745d4353cc83","name":"Sticky Note5","type":"n8n-nodes-base.stickyNote","position":[3520,580],"parameters":{"color":4,"width":820,"height":600,"content":"# Need Help Maximizing Your Knowledge Base?nnThank you for using our **Auto Knowledge Base Article Generator** workflow! While this automation handles content creation, building a truly effective knowledge base requires strategic planning:nn## Looking for Expert Support With:n- **Database Setup** - Need help structuring your content database for optimal performance and scalability?n- **Keyword Strategy** - Want to identify high-value search terms that attract qualified traffic?n- **SEO Optimization** - Need assistance implementing technical SEO best practices for maximum visibility?n- **Backlink Outreach** - Looking for strategies to build authoritative backlinks to your knowledge base?nn**Varritech is here to help!** Our team specializes in content automation, technical SEO, and strategic content distribution to maximize the impact of your knowledge base.nnVisit [varritech.com](https://varritech.com) for expert assistance with turning your automated content into a powerful business asset."},"typeVersion":1}],"active":true,"pinData":{},"settings":{"callerPolicy":"workflowsFromSameOwner","errorWorkflow":"AKus9UvKRJfvTZBA","executionOrder":"v1","executionTimeout":1800},"versionId":"b4259335-d41f-4671-b103-5b4e9609089b","connections":{"Merge":{"main":[[{"node":"Format","type":"main","index":0}]]},"Format":{"main":[[{"node":"AI Editor Agent","type":"main","index":0}]]},"Stop Here":{"main":[[{"node":"JSON.parse3","type":"main","index":0}]]},"JSON.parse":{"main":[[{"node":"AI Writer Agent","type":"main","index":0},{"node":"Increment Count","type":"main","index":0}]]},"Check Limit":{"main":[[{"node":"Stop Here","type":"main","index":0}],[{"node":"should submit","type":"main","index":0}]]},"JSON.parse1":{"main":[[{"node":"Merge","type":"main","index":0}]]},"JSON.parse3":{"main":[[{"node":"Execute Workflow","type":"main","index":0}]]},"should submit":{"main":[[{"node":"JSON.parse3","type":"main","index":0}],[{"node":"JSON.parse","type":"main","index":0}]]},"AI Editor Agent":{"main":[[{"node":"Check Limit","type":"main","index":0}]]},"AI Writer Agent":{"main":[[{"node":"Create Perplexity Content","type":"main","index":0},{"node":"JSON.parse1","type":"main","index":0}]]},"Increment Count":{"main":[[{"node":"Merge","type":"main","index":2}]]},"Initialize Count":{"main":[[{"node":"AI Writer Agent","type":"main","index":0},{"node":"Increment Count","type":"main","index":0}]]},"OpenAI Chat Model":{"ai_languageModel":[[{"node":"AI Writer Agent","type":"ai_languageModel","index":0}]]},"Accept and Publish":{"ai_tool":[[{"node":"AI Editor Agent","type":"ai_tool","index":0}]]},"OpenAI Chat Model1":{"ai_languageModel":[[{"node":"AI Editor Agent","type":"ai_languageModel","index":0}]]},"Create Perplexity Content":{"main":[[{"node":"Format Perplexity Output & Add Citations","type":"main","index":0}]]},"When chat message received":{"main":[[{"node":"Initialize Count","type":"main","index":0}]]},"Format Perplexity Output & Add Citations":{"main":[[{"node":"Merge","type":"main","index":1}]]}}}
  • API
  • Request
  • URL
  • Build
  • cURL
  • cpde
  • Javascript
  • JS
  • Python
  • Script
  • Custom Code
  • Function
  • LangChain
  • Chat
  • Conversational
  • Plan and Execute
  • ReAct
  • Tools
Planeta AI 2025 
magic-wandmenu linkedin facebook pinterest youtube rss twitter instagram facebook-blank rss-blank linkedin-blank pinterest youtube twitter instagram