Publicar comunicado de prensa en el sitio web Techeela
Este es unMarketingflujo de automatización del dominio deautomatización que contiene 9 nodos.Utiliza principalmente nodos como Set, Code, Wordpress, HttpRequest, RssFeedReadTrigger. Publicar automáticamente artículos de noticias con imagen destacada en WordPress desde RSS
- •Pueden requerirse credenciales de autenticación para la API de destino
Nodos utilizados (9)
Categoría
{
"id": "88x49jmELpXBXgy8",
"meta": {
"instanceId": "ca7e4439d37f2d7ddaa363ea2b029357e1ee59824d58b9533ac05bf57f803d9d",
"templateCredsSetupCompleted": true
},
"name": "PR news post to Techeela Website",
"tags": [],
"nodes": [
{
"id": "c762fb88-f496-4ff6-80fc-3da2047096d6",
"name": "Disparador de 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": "Código",
"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": "Subir imagen a 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": "Establecer imagen en publicación de 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": "Nota adhesiva1",
"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": "Establecer URL de imagen",
"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": "Nota adhesiva",
"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
}
]
]
}
}
}¿Cómo usar este flujo de trabajo?
Copie el código de configuración JSON de arriba, cree un nuevo flujo de trabajo en su instancia de n8n y seleccione "Importar desde JSON", pegue la configuración y luego modifique la configuración de credenciales según sea necesario.
¿En qué escenarios es adecuado este flujo de trabajo?
Intermedio - Marketing
¿Es de pago?
Este flujo de trabajo es completamente gratuito, puede importarlo y usarlo directamente. Sin embargo, tenga en cuenta que los servicios de terceros utilizados en el flujo de trabajo (como la API de OpenAI) pueden requerir un pago por su cuenta.
Flujos de trabajo relacionados recomendados
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.
Compartir este flujo de trabajo