Générateur automatisé de contenu marketing pour événements

Avancé

Ceci est unContent Creation, Multimodal AIworkflow d'automatisation du domainecontenant 24 nœuds.Utilise principalement des nœuds comme Set, Code, Merge, Slack, Webhook. Générer du contenu marketing pour des événements avec GPT-4, Google Sheets et Slack

Prérequis
  • Token Bot Slack ou URL Webhook
  • Point de terminaison HTTP Webhook (généré automatiquement par n8n)
  • Peut nécessiter les informations d'identification d'authentification de l'API cible
  • Informations d'identification Google Sheets API
Aperçu du workflow
Visualisation des connexions entre les nœuds, avec support du zoom et du déplacement
Exporter le workflow
Copiez la configuration JSON suivante dans n8n pour importer et utiliser ce workflow
{
  "id": "qDuGzbzSIxRn2kXc",
  "meta": {
    "instanceId": "dd69efaf8212c74ad206700d104739d3329588a6f3f8381a46a481f34c9cc281",
    "templateCredsSetupCompleted": true
  },
  "name": "Automated Event Marketing Content Generator",
  "tags": [],
  "nodes": [
    {
      "id": "578f8ee9-2919-4983-a478-3d585b817b60",
      "name": "Webhook Trigger",
      "type": "n8n-nodes-base.webhook",
      "position": [
        -944,
        16
      ],
      "webhookId": "event-content-gen",
      "parameters": {
        "path": "create-event-content",
        "options": {},
        "httpMethod": "POST"
      },
      "typeVersion": 1
    },
    {
      "id": "54e2d7e7-57d3-4c94-93f8-81ec16a0779e",
      "name": "Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1008,
        -224
      ],
      "parameters": {
        "color": 5,
        "width": 196,
        "height": 404,
        "content": "🚀 **WEBHOOK TRIGGER**\nReceives event details:\n- Event name\n- Date & time\n- Location\n- Target audience"
      },
      "typeVersion": 1
    },
    {
      "id": "c0491f96-c43c-4107-bcbc-de033b215ca1",
      "name": "Extraire les Données de l'Événement",
      "type": "n8n-nodes-base.set",
      "position": [
        -720,
        16
      ],
      "parameters": {
        "options": {}
      },
      "typeVersion": 3
    },
    {
      "id": "2b330412-8516-4434-985a-32285891725e",
      "name": "Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -784,
        -224
      ],
      "parameters": {
        "width": 192,
        "height": 400,
        "content": "📋 **EXTRACT DATA**\nParses incoming event info\nPrepares for content generation"
      },
      "typeVersion": 1
    },
    {
      "id": "cf6f8699-3112-45cf-8199-b0d8489c6f25",
      "name": "Générer le Contenu d'Email",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        -480,
        -384
      ],
      "parameters": {
        "url": "https://api.openai.com/v1/chat/completions",
        "options": {},
        "sendBody": true,
        "bodyParameters": {
          "parameters": [
            {
              "name": "model",
              "value": "gpt-4"
            },
            {
              "name": "messages",
              "value": "=[{\"role\": \"system\", \"content\": \"You are an expert email marketer. Create compelling email content.\"}, {\"role\": \"user\", \"content\": \"Create email campaign for Event: {{ $json.event_name }}, Date: {{ $json.event_date }}, Location: {{ $json.event_location }}, Audience: {{ $json.target_audience }}, Features: {{ $json.key_features }}. Generate: 1) Subject line (under 60 chars) 2) Email body (150-200 words) 3) CTA button text 4) PS line. Format as JSON with keys: subject, body, cta, ps\"}]"
            },
            {
              "name": "temperature",
              "value": "0.7"
            }
          ]
        }
      },
      "typeVersion": 4.1
    },
    {
      "id": "670cbbd2-5b1f-459c-b2ae-71915dab55af",
      "name": "Note2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -560,
        -560
      ],
      "parameters": {
        "color": 3,
        "height": 336,
        "content": "📧 **EMAIL GENERATOR**\nCreates personalized email:\n- Subject line\n- Body copy\n- CTA button\n- PS urgency line"
      },
      "typeVersion": 1
    },
    {
      "id": "13e5dc17-837e-4626-bdd6-93387d49e15d",
      "name": "Générer les Publications Sociales",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        -480,
        0
      ],
      "parameters": {
        "url": "https://api.openai.com/v1/chat/completions",
        "options": {},
        "sendBody": true,
        "bodyParameters": {
          "parameters": [
            {
              "name": "model",
              "value": "gpt-4"
            },
            {
              "name": "messages",
              "value": "=[{\"role\": \"system\", \"content\": \"You are a social media expert. Create engaging platform-optimized content.\"}, {\"role\": \"user\", \"content\": \"Create social posts for Event: {{ $json.event_name }}, Date: {{ $json.event_date }}, Location: {{ $json.event_location }}, Audience: {{ $json.target_audience }}, Features: {{ $json.key_features }}. Generate for: 1) LinkedIn (150 words) 2) Twitter (280 chars) 3) Instagram (with emojis) 4) Facebook (100 words). Format as JSON with keys: linkedin, twitter, instagram, facebook\"}]"
            },
            {
              "name": "temperature",
              "value": "0.8"
            }
          ]
        }
      },
      "typeVersion": 4.1
    },
    {
      "id": "7e2d8a74-2aa0-4c67-8e49-4d7fa789d1c5",
      "name": "Note3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -528,
        -160
      ],
      "parameters": {
        "color": 3,
        "height": 288,
        "content": "📱 **SOCIAL MEDIA POSTS**\nGenerates for 4 platforms:\n- LinkedIn\n- Twitter/X\n- Instagram\n- Facebook"
      },
      "typeVersion": 1
    },
    {
      "id": "74732679-24d0-4eee-b03c-c3759801dd87",
      "name": "Générer le Texte de Publicité",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        -480,
        336
      ],
      "parameters": {
        "url": "https://api.openai.com/v1/chat/completions",
        "options": {},
        "sendBody": true,
        "bodyParameters": {
          "parameters": [
            {
              "name": "model",
              "value": "gpt-4"
            },
            {
              "name": "messages",
              "value": "=[{\"role\": \"system\", \"content\": \"You are an advertising copywriter. Create high-converting ad copy.\"}, {\"role\": \"user\", \"content\": \"Create ad campaigns for Event: {{ $json.event_name }}, Date: {{ $json.event_date }}, Location: {{ $json.event_location }}, Audience: {{ $json.target_audience }}, Features: {{ $json.key_features }}. Generate: 1) Google Search Ad (30 char headline, 90 char description) 2) Facebook Ad (125 char text, 40 char headline) 3) LinkedIn Sponsored (150 char intro, 70 char headline). Format as JSON with keys: google_search, facebook_ad, linkedin_ad\"}]"
            },
            {
              "name": "temperature",
              "value": "0.7"
            }
          ]
        }
      },
      "typeVersion": 4.1
    },
    {
      "id": "337bd89f-7d18-4db5-9e5c-c313efd29573",
      "name": "Note4",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -528,
        192
      ],
      "parameters": {
        "color": 3,
        "height": 272,
        "content": "💰 **AD COPY GENERATOR**\nCreates paid ad content:\n- Google Search\n- Facebook Ads\n- LinkedIn Sponsored"
      },
      "typeVersion": 1
    },
    {
      "id": "5c754765-d544-4d93-bf80-a3885c7fdb4a",
      "name": "Analyser la Réponse d'Email",
      "type": "n8n-nodes-base.code",
      "position": [
        -240,
        -384
      ],
      "parameters": {
        "jsCode": "const email = JSON.parse($input.first().json.choices[0].message.content);\nreturn { email_content: email };"
      },
      "typeVersion": 2
    },
    {
      "id": "7a72d83b-4ef1-468d-a795-63c0531b3017",
      "name": "Note5",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -304,
        -560
      ],
      "parameters": {
        "color": 4,
        "height": 336,
        "content": "🔄 **PARSE EMAIL**\nExtracts JSON from API\nCleans up response"
      },
      "typeVersion": 1
    },
    {
      "id": "98b921e9-1e7b-4ad9-98d5-d3bc5011755d",
      "name": "Analyser la Réponse Sociale",
      "type": "n8n-nodes-base.code",
      "position": [
        -240,
        0
      ],
      "parameters": {
        "jsCode": "const social = JSON.parse($input.first().json.choices[0].message.content);\nreturn { social_media: social };"
      },
      "typeVersion": 2
    },
    {
      "id": "990f0a6d-f816-4fe6-9a8f-692a3b0791ee",
      "name": "Note6",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -272,
        -160
      ],
      "parameters": {
        "color": 4,
        "height": 288,
        "content": "🔄 **PARSE SOCIAL**\nExtracts JSON from API\nCleans up response"
      },
      "typeVersion": 1
    },
    {
      "id": "6babf8b0-a753-4e55-96f5-215839776512",
      "name": "Analyser la Réponse Publicitaire",
      "type": "n8n-nodes-base.code",
      "position": [
        -240,
        336
      ],
      "parameters": {
        "jsCode": "const ads = JSON.parse($input.first().json.choices[0].message.content);\nreturn { ad_content: ads };"
      },
      "typeVersion": 2
    },
    {
      "id": "b8636a5e-b437-4fbf-8296-ec3330d1ea66",
      "name": "Note7",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -256,
        192
      ],
      "parameters": {
        "color": 4,
        "height": 288,
        "content": "🔄 **PARSE ADS**\nExtracts JSON from API\nCleans up response"
      },
      "typeVersion": 1
    },
    {
      "id": "5bb618d9-3862-4bb7-a5d2-692843effd3a",
      "name": "Fusionner Tout le Contenu",
      "type": "n8n-nodes-base.merge",
      "position": [
        32,
        -80
      ],
      "parameters": {
        "mode": "combine",
        "options": {},
        "combinationMode": "mergeByPosition"
      },
      "typeVersion": 2.1
    },
    {
      "id": "6f23e238-2e67-4ba3-b1dc-925732ad0d23",
      "name": "Note8",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -16,
        -240
      ],
      "parameters": {
        "color": 5,
        "height": 336,
        "content": "🔀 **MERGE CONTENT**\nCombines all generated:\n- Email content\n- Social posts\n- Ad copy"
      },
      "typeVersion": 1
    },
    {
      "id": "c94fc96d-603b-4c25-89cd-e2ef1deeea19",
      "name": "Enregistrer dans Google Sheets",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        320,
        -80
      ],
      "parameters": {
        "columns": {
          "value": {},
          "schema": [],
          "mappings": [
            {
              "value": "={{ $now.toISO() }}",
              "column": "Timestamp"
            },
            {
              "value": "={{ $json.event_name }}",
              "column": "Event_Name"
            },
            {
              "value": "={{ $json.event_date }}",
              "column": "Event_Date"
            },
            {
              "value": "={{ $json.event_location }}",
              "column": "Location"
            },
            {
              "value": "={{ $json.email_content.subject }}",
              "column": "Email_Subject"
            },
            {
              "value": "Generated",
              "column": "Status"
            }
          ],
          "mappingMode": "autoMapInputData",
          "matchingColumns": [],
          "attemptToConvertTypes": false,
          "convertFieldsToString": false
        },
        "options": {},
        "operation": "append",
        "sheetName": "Marketing_Campaigns",
        "documentId": "5x4w3v2u1t0s9r8q",
        "authentication": "serviceAccount"
      },
      "credentials": {
        "googleApi": {
          "id": "ScSS2KxGQULuPtdy",
          "name": "Google Sheets- test"
        }
      },
      "typeVersion": 4
    },
    {
      "id": "d30e9189-b6e6-4e3a-b3ec-63bc615a0cbe",
      "name": "Note9",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        272,
        -272
      ],
      "parameters": {
        "color": 2,
        "height": 368,
        "content": "💾 **SAVE TO SHEETS**\nSheet: Marketing_Campaigns\nTracks all campaigns\nDoc: 5x4w3v2u1t0s9r8q"
      },
      "typeVersion": 1
    },
    {
      "id": "d83a374f-9fe9-4413-b528-6f36459c334f",
      "name": "Pack de Contenu d'Email",
      "type": "n8n-nodes-base.emailSend",
      "position": [
        784,
        -384
      ],
      "webhookId": "596b14f4-f72f-4ae7-b381-1b62f032a225",
      "parameters": {
        "options": {
          "ccEmail": "marketing-team@company.com"
        },
        "subject": "✨ Event Marketing Content Ready - {{ $json.event_name }}",
        "toEmail": "events@company.com",
        "fromEmail": "marketing@company.com"
      },
      "credentials": {
        "smtp": {
          "id": "G1kyF8cSWTZ4vouN",
          "name": "SMTP -test"
        }
      },
      "typeVersion": 2
    },
    {
      "id": "f8c8fb29-f990-4f4a-bfd9-644f72df6a46",
      "name": "Note10",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        704,
        -544
      ],
      "parameters": {
        "color": 6,
        "height": 336,
        "content": "📧 **EMAIL DELIVERY**\nTo: events@company.com\nCC: marketing-team@company.com\nAll content in email body"
      },
      "typeVersion": 1
    },
    {
      "id": "bfc9fd06-2a82-49e4-ba81-241bbc053597",
      "name": "Notifier l'Équipe sur Slack",
      "type": "n8n-nodes-base.slack",
      "position": [
        816,
        64
      ],
      "webhookId": "973995bf-176f-44c4-8c0d-e66aa639b9c8",
      "parameters": {
        "text": "=🎉 *New Event Marketing Content Generated!*\n\n*Event:* {{ $json.event_name }}\n*Date:* {{ $json.event_date }}\n*Location:* {{ $json.event_location }}\n\n✅ Email campaign ready\n✅ Social media posts created\n✅ Ad copy generated\n\n📧 Full package sent to events team!",
        "user": {
          "__rl": true,
          "mode": "list",
          "value": ""
        },
        "select": "user",
        "otherOptions": {}
      },
      "credentials": {
        "slackApi": {
          "id": "MQ0fgwuS8AzfwFvy",
          "name": "Slack account - test "
        }
      },
      "typeVersion": 2.1
    },
    {
      "id": "11cb7cc9-42d5-4331-9477-760d4b844605",
      "name": "Note11",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        720,
        -112
      ],
      "parameters": {
        "height": 320,
        "content": "💬 **SLACK NOTIFICATION**\nChannel: #marketing-updates\nChannel ID: C11223MARKETING\nTeam alert with summary"
      },
      "typeVersion": 1
    }
  ],
  "active": false,
  "pinData": {},
  "settings": {
    "executionOrder": "v1"
  },
  "versionId": "de94feee-93f7-4195-8538-f7a155144756",
  "connections": {
    "578f8ee9-2919-4983-a478-3d585b817b60": {
      "main": [
        [
          {
            "node": "c0491f96-c43c-4107-bcbc-de033b215ca1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "74732679-24d0-4eee-b03c-c3759801dd87": {
      "main": [
        [
          {
            "node": "6babf8b0-a753-4e55-96f5-215839776512",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "5bb618d9-3862-4bb7-a5d2-692843effd3a": {
      "main": [
        [
          {
            "node": "c94fc96d-603b-4c25-89cd-e2ef1deeea19",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "c0491f96-c43c-4107-bcbc-de033b215ca1": {
      "main": [
        [
          {
            "node": "cf6f8699-3112-45cf-8199-b0d8489c6f25",
            "type": "main",
            "index": 0
          },
          {
            "node": "13e5dc17-837e-4626-bdd6-93387d49e15d",
            "type": "main",
            "index": 0
          },
          {
            "node": "74732679-24d0-4eee-b03c-c3759801dd87",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "c94fc96d-603b-4c25-89cd-e2ef1deeea19": {
      "main": [
        [
          {
            "node": "d83a374f-9fe9-4413-b528-6f36459c334f",
            "type": "main",
            "index": 0
          },
          {
            "node": "bfc9fd06-2a82-49e4-ba81-241bbc053597",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "5c754765-d544-4d93-bf80-a3885c7fdb4a": {
      "main": [
        [
          {
            "node": "5bb618d9-3862-4bb7-a5d2-692843effd3a",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "13e5dc17-837e-4626-bdd6-93387d49e15d": {
      "main": [
        [
          {
            "node": "98b921e9-1e7b-4ad9-98d5-d3bc5011755d",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "98b921e9-1e7b-4ad9-98d5-d3bc5011755d": {
      "main": [
        [
          {
            "node": "5bb618d9-3862-4bb7-a5d2-692843effd3a",
            "type": "main",
            "index": 1
          }
        ]
      ]
    },
    "cf6f8699-3112-45cf-8199-b0d8489c6f25": {
      "main": [
        [
          {
            "node": "5c754765-d544-4d93-bf80-a3885c7fdb4a",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}
Foire aux questions

Comment utiliser ce workflow ?

Copiez le code de configuration JSON ci-dessus, créez un nouveau workflow dans votre instance n8n et sélectionnez "Importer depuis le JSON", collez la configuration et modifiez les paramètres d'authentification selon vos besoins.

Dans quelles scénarios ce workflow est-il adapté ?

Avancé - Création de contenu, IA Multimodale

Est-ce payant ?

Ce workflow est entièrement gratuit et peut être utilisé directement. Veuillez noter que les services tiers utilisés dans le workflow (comme l'API OpenAI) peuvent nécessiter un paiement de votre part.

Informations sur le workflow
Niveau de difficulté
Avancé
Nombre de nœuds24
Catégorie2
Types de nœuds9
Description de la difficulté

Adapté aux utilisateurs avancés, avec des workflows complexes contenant 16+ nœuds

Auteur
Oneclick AI Squad

Oneclick AI Squad

@oneclick-ai

The AI Squad Initiative is a pioneering effort to build, automate and scale AI-powered workflows using n8n.io. Our mission is to help individuals and businesses integrate AI agents seamlessly into their daily operations from automating tasks and enhancing productivity to creating innovative, intelligent solutions. We design modular, reusable AI workflow templates that empower creators, developers and teams to supercharge their automation with minimal effort and maximum impact.

Liens externes
Voir sur n8n.io

Partager ce workflow

Catégories

Catégories: 34