Publier un communiqué de presse sur le site Techeela
Ceci est unMarketingworkflow d'automatisation du domainecontenant 9 nœuds.Utilise principalement des nœuds comme Set, Code, Wordpress, HttpRequest, RssFeedReadTrigger. Publier automatiquement des communiqués de presse avec des images vedettes vers WordPress à partir de RSS
- •Peut nécessiter les informations d'identification d'authentification de l'API cible
Nœuds utilisés (9)
Catégorie
{
"id": "88x49jmELpXBXgy8",
"meta": {
"instanceId": "ca7e4439d37f2d7ddaa363ea2b029357e1ee59824d58b9533ac05bf57f803d9d",
"templateCredsSetupCompleted": true
},
"name": "PR news post to Techeela Website",
"tags": [],
"nodes": [
{
"id": "c762fb88-f496-4ff6-80fc-3da2047096d6",
"name": "Déclencheur RSS Feed",
"type": "n8n-nodes-base.rssFeedReadTrigger",
"position": [
0,
0
],
"parameters": {
"feedUrl": "",
"pollTimes": {
"item": [
{
"mode": "everyMinute"
}
]
}
},
"typeVersion": 1
},
{
"id": "572e403a-ee70-46ee-ac24-45faf8fe1d98",
"name": "Wordpress",
"type": "n8n-nodes-base.wordpress",
"position": [
440,
0
],
"parameters": {
"title": "={{ $json.title }}",
"additionalFields": {
"format": "standard",
"status": "draft",
"content": "={{ $json.content }}",
"authorId": 3,
"categories": [
1057
],
"postTemplate": {
"values": {}
}
}
},
"credentials": {
"wordpressApi": {
"id": "",
"name": ""
}
},
"typeVersion": 1
},
{
"id": "2ff6ba75-5c55-4203-a670-f6688acf8520",
"name": "Code",
"type": "n8n-nodes-base.code",
"position": [
220,
0
],
"parameters": {
"jsCode": "const items = $input.all();\nconst updatedItems = items.map((item) => {\n const content = item?.json?.content;\n const srcMatch = content.match(/src=\"(.*?)\"/);\n item.json.imageSrc = srcMatch ? srcMatch[1] : \"\";\n return item;\n});\nreturn updatedItems;\n"
},
"typeVersion": 2
},
{
"id": "1c0c60e0-0f1f-4f64-9186-5640599f62a7",
"name": "Téléverser l'image vers Wordpress",
"type": "n8n-nodes-base.httpRequest",
"position": [
1040,
0
],
"parameters": {
"url": "https://xyz.com/wp-json/wp/v2/media",
"method": "POST",
"options": {},
"sendBody": true,
"contentType": "binaryData",
"sendHeaders": true,
"authentication": "predefinedCredentialType",
"headerParameters": {
"parameters": [
{
"name": "Content-Disposition",
"value": "=attachment; filename=\"cover-image-{{ $('Wordpress').item.json.id }}.jpeg\""
}
]
},
"inputDataFieldName": "data",
"nodeCredentialType": "wordpressApi"
},
"credentials": {
"wordpressApi": {
"id": "",
"name": "Wordpress Account"
}
},
"typeVersion": 4.2
},
{
"id": "38326346-0f38-4491-b786-ee1e06b65f96",
"name": "Définir l'image sur l'article Wordpress",
"type": "n8n-nodes-base.httpRequest",
"position": [
1240,
0
],
"parameters": {
"url": "=https://xyz.com/wp-json/wp/v2/posts/{{ $('Wordpress').item.json.id }}",
"method": "POST",
"options": {},
"sendQuery": true,
"authentication": "predefinedCredentialType",
"queryParameters": {
"parameters": [
{
"name": "featured_media",
"value": "={{ $json.id }}"
}
]
},
"nodeCredentialType": "wordpressApi"
},
"credentials": {
"wordpressApi": {
"id": "",
"name": "Wordpress Account"
}
},
"typeVersion": 4.2
},
{
"id": "45505c71-ff36-4f4c-be2c-bf705ae0a902",
"name": "GET Image",
"type": "n8n-nodes-base.httpRequest",
"position": [
840,
0
],
"parameters": {
"url": "={{ $json['image-url'] }}",
"options": {}
},
"typeVersion": 4.2
},
{
"id": "6f1ff8bc-622d-49bb-a172-bf23b6e1baa3",
"name": "Note adhésive1",
"type": "n8n-nodes-base.stickyNote",
"position": [
200,
-80
],
"parameters": {
"width": 1240,
"height": 280,
"content": "## Set Image and Content In Techeela Wordpress Post"
},
"typeVersion": 1
},
{
"id": "8272d49e-cf24-43a0-b948-db29adf5a95f",
"name": "Définir l'URL de l'image",
"type": "n8n-nodes-base.set",
"position": [
640,
0
],
"parameters": {
"options": {},
"assignments": {
"assignments": [
{
"id": "1f0541df-05ab-4e3d-a5d8-3904579fc8a9",
"name": "image-url",
"type": "string",
"value": "={{ $('Code').item.json.imageSrc }}"
}
]
}
},
"typeVersion": 3.4
},
{
"id": "f6685e58-6c23-495d-9b75-a8066eab8829",
"name": "Note adhésive",
"type": "n8n-nodes-base.stickyNote",
"position": [
-120,
-80
],
"parameters": {
"color": 4,
"width": 280,
"height": 280,
"content": "## Feed from PR Newswire\n"
},
"typeVersion": 1
}
],
"active": true,
"pinData": {},
"settings": {
"executionOrder": "v1"
},
"versionId": "71481a3f-f3d0-45aa-b039-5f2cdb2e5267",
"connections": {
"2ff6ba75-5c55-4203-a670-f6688acf8520": {
"main": [
[
{
"node": "572e403a-ee70-46ee-ac24-45faf8fe1d98",
"type": "main",
"index": 0
}
]
]
},
"45505c71-ff36-4f4c-be2c-bf705ae0a902": {
"main": [
[
{
"node": "1c0c60e0-0f1f-4f64-9186-5640599f62a7",
"type": "main",
"index": 0
}
]
]
},
"572e403a-ee70-46ee-ac24-45faf8fe1d98": {
"main": [
[
{
"node": "8272d49e-cf24-43a0-b948-db29adf5a95f",
"type": "main",
"index": 0
}
]
]
},
"8272d49e-cf24-43a0-b948-db29adf5a95f": {
"main": [
[
{
"node": "45505c71-ff36-4f4c-be2c-bf705ae0a902",
"type": "main",
"index": 0
}
]
]
},
"c762fb88-f496-4ff6-80fc-3da2047096d6": {
"main": [
[
{
"node": "2ff6ba75-5c55-4203-a670-f6688acf8520",
"type": "main",
"index": 0
}
]
]
},
"1c0c60e0-0f1f-4f64-9186-5640599f62a7": {
"main": [
[
{
"node": "38326346-0f38-4491-b786-ee1e06b65f96",
"type": "main",
"index": 0
}
]
]
}
}
}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é ?
Intermédiaire - Marketing
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.
Workflows recommandés
Digvijay Dubey
@digvijayResults-driven developer with expertise in automation, system integration, and CRM solutions. Skilled in building efficient workflows with n8n, integrating platforms like WordPress, Zoho CRM, and APIs to streamline business processes. Passionate about solving real-world problems with clean, scalable, and automated solutions.
Partager ce workflow