Téléchargement de fichiers multimédias à partir de messages Slack
Ceci est unBuilding Blocks, AIworkflow d'automatisation du domainecontenant 4 nœuds.Utilise principalement des nœuds comme HttpRequest, SlackTrigger, combinant la technologie d'intelligence artificielle pour une automatisation intelligente. Télécharger des fichiers multimédias à partir de messages Slack
- •Peut nécessiter les informations d'identification d'authentification de l'API cible
- •Token Bot Slack ou URL Webhook
Nœuds utilisés (4)
{
"meta": {
"instanceId": "4e229722e6c43a4914d2d66178b48335adf795d73afbee5b0ea0c52938ef4d8e",
"templateCredsSetupCompleted": true
},
"nodes": [
{
"id": "0a986ad8-37ca-4869-9071-2236cefddd49",
"name": "Déclencheur Slack Message avec fichier",
"type": "n8n-nodes-base.slackTrigger",
"position": [
-2460,
-200
],
"webhookId": "88033a8d-c5a4-4226-a742-909e005bb5b3",
"parameters": {
"options": {},
"trigger": [
"message"
],
"watchWorkspace": true
},
"credentials": {
"slackApi": {
"id": "5PavU8rt9kHN9pW4",
"name": "n8n user"
}
},
"typeVersion": 1
},
{
"id": "bb609575-b106-4786-8fe6-85f9eaed45c0",
"name": "Télécharger le média depuis Slack",
"type": "n8n-nodes-base.httpRequest",
"position": [
-2100,
-200
],
"parameters": {
"url": "={{ $('Trigger Slack File Message').item.json.files[0].url_private_download }}",
"options": {
"response": {
"response": {}
}
},
"authentication": "genericCredentialType",
"genericAuthType": "httpHeaderAuth"
},
"credentials": {
"httpHeaderAuth": {
"id": "TTp4u7ld1rzfYb3s",
"name": "Slack n8n"
}
},
"typeVersion": 4.2
},
{
"id": "5248c9ad-adbb-419d-a193-cf97efc14541",
"name": "Note adhésive",
"type": "n8n-nodes-base.stickyNote",
"position": [
-2560,
-260
],
"parameters": {
"width": 320,
"height": 220,
"content": "This node listens for new messages in Slack that include file attachments."
},
"typeVersion": 1
},
{
"id": "b363e861-cf22-4be9-a534-414d98190da0",
"name": "Note adhésive 1",
"type": "n8n-nodes-base.stickyNote",
"position": [
-2180,
-260
],
"parameters": {
"width": 320,
"height": 220,
"content": "This node downloads the file from the Slack message using the private download URL. "
},
"typeVersion": 1
}
],
"pinData": {},
"connections": {
"0a986ad8-37ca-4869-9071-2236cefddd49": {
"main": [
[
{
"node": "bb609575-b106-4786-8fe6-85f9eaed45c0",
"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é ?
Débutant - Blocs de construction, Intelligence Artificielle
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
Partager ce workflow