Pressemeldung auf der Techeela-Website veröffentlichen
Dies ist ein Marketing-Bereich Automatisierungsworkflow mit 9 Nodes. Hauptsächlich werden Set, Code, Wordpress, HttpRequest, RssFeedReadTrigger und andere Nodes verwendet. Automatisches Veröffentlichen von Pressemitteilungen mit Highlight-Bildern auf WordPress über RSS
- •Möglicherweise sind Ziel-API-Anmeldedaten erforderlich
Verwendete Nodes (9)
Kategorie
{
"id": "88x49jmELpXBXgy8",
"meta": {
"instanceId": "ca7e4439d37f2d7ddaa363ea2b029357e1ee59824d58b9533ac05bf57f803d9d",
"templateCredsSetupCompleted": true
},
"name": "PR news post to Techeela Website",
"tags": [],
"nodes": [
{
"id": "c762fb88-f496-4ff6-80fc-3da2047096d6",
"name": "RSS-Feed-Trigger",
"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": "Bild auf Wordpress hochladen",
"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": "Bild für Wordpress-Beitrag setzen",
"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": "Bild abrufen",
"type": "n8n-nodes-base.httpRequest",
"position": [
840,
0
],
"parameters": {
"url": "={{ $json['image-url'] }}",
"options": {}
},
"typeVersion": 4.2
},
{
"id": "6f1ff8bc-622d-49bb-a172-bf23b6e1baa3",
"name": "Notiz 1",
"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": "Bild-URL setzen",
"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": "Notiz",
"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
}
]
]
}
}
}Wie verwende ich diesen Workflow?
Kopieren Sie den obigen JSON-Code, erstellen Sie einen neuen Workflow in Ihrer n8n-Instanz und wählen Sie "Aus JSON importieren". Fügen Sie die Konfiguration ein und passen Sie die Anmeldedaten nach Bedarf an.
Für welche Szenarien ist dieser Workflow geeignet?
Fortgeschritten - Marketing
Ist es kostenpflichtig?
Dieser Workflow ist völlig kostenlos. Beachten Sie jedoch, dass Drittanbieterdienste (wie OpenAI API), die im Workflow verwendet werden, möglicherweise kostenpflichtig sind.
Verwandte Workflows
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.
Diesen Workflow teilen