n8n-sauvegarde/LinkedIn publication prepar...

1 line
4.5 KiB
JSON
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{"createdAt":"2024-06-18T13:46:16.623Z","updatedAt":"2024-06-19T12:47:24.898Z","id":"dGYcvZCeFm5cqc14","name":"LinkedIn publication prepare","active":true,"nodes":[{"parameters":{"model":"llama3-70b-8192","options":{"maxTokensToSample":2048},"requestOptions":{}},"id":"e79f7e68-5e26-48d5-8982-fc254344aae7","name":"Groq Chat Model","type":"@n8n/n8n-nodes-langchain.lmChatGroq","typeVersion":1,"position":[-120,440],"notesInFlow":true,"credentials":{"groqApi":{"id":"u4SobGEjjuXQixeQ","name":"Groq account"}},"notes":"IA Groq"},{"parameters":{"operation":"create","docId":"pfyRAyDpaei1RyyPQYUqLV","tableId":"Table1","fieldsToSend":{"properties":[{"fieldId":"Sujet","fieldValue":"={{ $node[\"Webhook\"].json[\"query\"][\"subject\"] }}"},{"fieldId":"Contenu","fieldValue":"={{ $node[\"LLM\"].json[\"text\"] }}"},{"fieldId":"Date_soumission","fieldValue":"={{ $node[\"DateTime\"].json[\"currentDate\"] }}"},{"fieldId":"LinkedIn","fieldValue":"En attente"},{"fieldId":"Image","fieldValue":"={{ $node[\"Webhook\"].json[\"query\"][\"image\"] }}"},{"fieldId":"Facebook","fieldValue":"En attente"},{"fieldId":"Twitter","fieldValue":"En attente"},{"fieldId":"Twitt","fieldValue":"={{ $node[\"Summarization\"].json[\"response\"][\"text\"] }}"}]}},"id":"ba7eca73-bade-4b0c-8de1-8ee1a16b6d97","name":"Grist","type":"n8n-nodes-base.grist","typeVersion":1,"position":[480,240],"notesInFlow":true,"credentials":{"gristApi":{"id":"FP4qhcxgUb7jbXcL","name":"Grist account"}},"notes":"Enregistrement article"},{"parameters":{"options":{}},"id":"3043a137-a0e0-488b-ac9c-00e9874badd0","name":"DateTime","type":"n8n-nodes-base.dateTime","typeVersion":2,"position":[300,240],"notesInFlow":true,"notes":"Récupération date actuelle"},{"parameters":{"httpMethod":"POST","path":"cff0c7ed-2701-47ea-85da-faa88a9ddccc","options":{}},"id":"72e8420d-2d6c-4b9f-ba07-030382e8a052","name":"Webhook","type":"n8n-nodes-base.webhook","typeVersion":2,"position":[-500,240],"webhookId":"cff0c7ed-2701-47ea-85da-faa88a9ddccc","notesInFlow":true,"notes":"Déclenchement formulaire"},{"parameters":{"promptType":"define","text":"=Write an article on “{{ $json[\"query\"][\"subject\"] }}” in French. You can use technical words and content because article is intended to be read by information and technology professionals. First introduce with 200 characters with the description of the technology. Then write 100 characters with his history with some dates and important changes. After, on 250 characters on good points on using this and domain where its very efficient. With 250 more characters, insist on bad points on using this. Compare this with others and be precise on the added value of this. And finally conclude with other things not aborded previously. Close the article with a hook phrase to induct other readers to add comments, be creative. Add emoji at the beginning of each paragraph in correlation with the thematic aborded on it. Add a global title in English. It must contain the name of the subject and from 3 to 10 words and begin it with musical score emoji 🎼 and end it with musical notes emoji 🎶. Don't add markdown or HTML formating or characters under titles. Add 3 hashtags writed in uppercase at the bottom of the article with the most significatives words used."},"id":"81691874-ac33-4fff-bb27-065abff8b0fd","name":"LLM","type":"@n8n/n8n-nodes-langchain.chainLlm","typeVersion":1.4,"position":[-340,240],"notesInFlow":true,"notes":"Rédaction article"},{"parameters":{"chunkingMode":"advanced","options":{"summarizationMethodAndPrompts":{"values":{"summarizationMethod":"stuff","prompt":"Write a concise summary in french of only 200 characters without specifying this is a summary. Add emoji at beginning and end of the text. Place a link to the official website.\n\n\n\"{text}\""}}}},"id":"c2e83432-0d26-4d1d-a0b2-b11126cfa2ea","name":"Summarization","type":"@n8n/n8n-nodes-langchain.chainSummarization","typeVersion":2,"position":[-20,240]}],"connections":{"Groq Chat Model":{"ai_languageModel":[[{"node":"LLM","type":"ai_languageModel","index":0},{"node":"Summarization","type":"ai_languageModel","index":0}]]},"Webhook":{"main":[[{"node":"LLM","type":"main","index":0}]]},"LLM":{"main":[[{"node":"Summarization","type":"main","index":0}]]},"DateTime":{"main":[[{"node":"Grist","type":"main","index":0}]]},"Summarization":{"main":[[{"node":"DateTime","type":"main","index":0}]]}},"settings":{"executionOrder":"v1"},"staticData":{"node:Schedule Trigger":{"recurrencyRules":[]}},"meta":{"templateCredsSetupCompleted":true},"pinData":{},"versionId":"7851feda-c179-4bd8-8729-dc832ebde230","triggerCount":1,"tags":[]}