Archivage automatique des anciens articles WordPress en brouillon
Ceci est unFile Management, Multimodal AIworkflow d'automatisation du domainecontenant 7 nœuds.Utilise principalement des nœuds comme If, EmailSend, Wordpress, ScheduleTrigger. Archivage automatique des anciens articles WordPress vers l'état de brouillon
- •Aucun prérequis spécial, prêt à l'emploi après importation
Nœuds utilisés (7)
Catégorie
{
"meta": {
"instanceId": "2000c64071c20843606b95c63795bb0797c41036047055a6586498e855b96efc",
"templateCredsSetupCompleted": true
},
"nodes": [
{
"id": "48e4e6d7-f1c4-4539-a1c7-9d5fd4aed1eb",
"name": "Déclencheur trimestriel",
"type": "n8n-nodes-base.scheduleTrigger",
"position": [
-304,
96
],
"parameters": {
"rule": {
"interval": [
{
"field": "cronExpression",
"expression": "0 0 1 */3 *"
}
]
}
},
"typeVersion": 1.2
},
{
"id": "acc3caae-a2f2-47ee-90fe-d9d6cc908cde",
"name": "Trouver les anciens articles",
"type": "n8n-nodes-base.wordpress",
"position": [
-48,
96
],
"parameters": {
"options": {
"order": "asc",
"before": "{{ $now.minus({ months: 12 }).toISO() }}",
"status": "publish"
},
"operation": "getAll"
},
"typeVersion": 1
},
{
"id": "4d37e32a-8a0c-4881-9898-871252d5ac45",
"name": "Vérifier si des articles sont trouvés",
"type": "n8n-nodes-base.if",
"position": [
208,
96
],
"parameters": {
"options": {},
"conditions": {
"options": {
"version": 1,
"leftValue": "",
"caseSensitive": true,
"typeValidation": "strict"
},
"combinator": "and",
"conditions": [
{
"id": "6516d0df-79fc-4895-b422-1aaf6e348fc8",
"operator": {
"type": "number",
"operation": "gt"
},
"leftValue": "={{ $json.length }}",
"rightValue": 0
}
]
}
},
"typeVersion": 2
},
{
"id": "9d23ec40-bb26-4aa4-b960-fde58c5247f6",
"name": "Archiver l'article",
"type": "n8n-nodes-base.wordpress",
"position": [
464,
32
],
"parameters": {
"postId": "={{ $json.id }}",
"operation": "update",
"updateFields": {
"tags": "archived,old-content",
"status": "draft"
}
},
"typeVersion": 1
},
{
"id": "4d4a6928-521e-4cda-b7ee-66641e34838f",
"name": "Envoyer une notification",
"type": "n8n-nodes-base.emailSend",
"position": [
720,
32
],
"webhookId": "3bddfc19-dba1-4010-8c05-a4ff5f7f5f67",
"parameters": {
"options": {},
"subject": "Quarterly Archive Complete"
},
"credentials": {
"smtp": {
"id": "0xVva6dyyi5SuxBe",
"name": "SMTP account"
}
},
"typeVersion": 2.1
},
{
"id": "6b526fe7-645a-4cb5-bb5b-4e0c31d84142",
"name": "Journaliser l'absence d'articles",
"type": "n8n-nodes-base.noOp",
"position": [
448,
208
],
"parameters": {},
"typeVersion": 1
},
{
"id": "e9a2e951-43e5-4e98-83d4-3145dc6dbf47",
"name": "Note adhésive",
"type": "n8n-nodes-base.stickyNote",
"position": [
-576,
-80
],
"parameters": {
"width": 380,
"height": 780,
"content": "## Workflow Overview\n\n**Author: David Olusola**\nThis workflow automatically archives old WordPress posts every quarter.\n\n**Schedule:** Runs on the 1st day of every 3rd month (quarterly)\n\n**Steps:**\n1. Trigger executes quarterly\n2. Finds old posts from WordPress\n3. Archives the identified posts\n\n---\n\n## Need n8n Coaching?\n\n🎯 **Get Professional Help:**\n- Workflow optimization\n- Advanced automation strategies\n- Custom node development\n- Error handling & debugging\n- Performance improvements\n\n📧 [Contact for n8n coaching and consultation services!](mailto:david@daexai.com)\n\n---\n\n💡 **Tips:**\n- Add filters to \"Find Old Posts\" to specify criteria\n- Consider adding error handling nodes\n- Test with a smaller batch first"
},
"typeVersion": 1
}
],
"pinData": {},
"connections": {
"9d23ec40-bb26-4aa4-b960-fde58c5247f6": {
"main": [
[
{
"node": "4d4a6928-521e-4cda-b7ee-66641e34838f",
"type": "main",
"index": 0
}
]
]
},
"acc3caae-a2f2-47ee-90fe-d9d6cc908cde": {
"main": [
[
{
"node": "4d37e32a-8a0c-4881-9898-871252d5ac45",
"type": "main",
"index": 0
}
]
]
},
"48e4e6d7-f1c4-4539-a1c7-9d5fd4aed1eb": {
"main": [
[
{
"node": "acc3caae-a2f2-47ee-90fe-d9d6cc908cde",
"type": "main",
"index": 0
}
]
]
},
"4d37e32a-8a0c-4881-9898-871252d5ac45": {
"main": [
[
{
"node": "9d23ec40-bb26-4aa4-b960-fde58c5247f6",
"type": "main",
"index": 0
}
],
[
{
"node": "6b526fe7-645a-4cb5-bb5b-4e0c31d84142",
"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 - Gestion de fichiers, 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.
Workflows recommandés
David Olusola
@dae221I help ambitious businesses eliminate operational bottlenecks and scale faster with AI automation. My clients typically see 40-60% efficiency gains within 90 days. Currently accepting 3 new projects this quarter - david@daexai.com
Partager ce workflow