WorkflowSlackOpen

Venafi TLS Protect Cloud Slack bot workflow

This n8n workflow is a second copy in the collection of the Slack and Venafi TLS Protect Cloud integration. It is for IT security teams who want a Slack bot that handles certificate requests and vulnerability replies through Venafi, using the same building blocks as its twin.

What it does

Slack interactions arrive through the Events API at the webhook, a set node extracts the payload, and a switch sends them to the right branch. One branch responds to vulnerability messages, another requests a certificate from Venafi after looking up the requester's email from their Slack ID.

How to use it

Point your Slack app's event subscriptions at the webhook and add Venafi and Slack credentials.

Requirements and limits

The Slack ID to email lookup runs in a separate workflow you must also have.

More in Slack and the n8n workflow library.

Full text

Front matter
name: Venafitlsprotectcloud Workflow
description: Triggered by a webhook. Connects Condition, Execute Workflow, HTTP request, Respond To Webhook, Slack, Switch, Venafi Tls Protect Cloud, Webhook. ![Imgur]({{ $env.WEBHOOK_URL }} ## Events Webhook Trigger The first node receives all messages from Slack API via Subscription Events API. You can find more information about setting up the subscription events API by [clicking here]({{ $env.API_BASE_URL }} The second node extracts the payload from slack into an object that n8n can understand. ![n8n]({{ $env.WEBHOOK_URL }} ## Efficient Slack Interaction Handling with n8n This section of the workflow is designed to efficiently manage and route
category: Automation
kind: Workflow
software: Condition|Execute Workflow|HTTP request|Respond To Webhook|Slack|Switch|Venafi Tls Protect Cloud|Webhook

Venafitlsprotectcloud Workflow

Triggered by a webhook. Connects Condition, Execute Workflow, HTTP request, Respond To Webhook, Slack, Switch, Venafi Tls Protect Cloud, Webhook. ![Imgur]({{ $env.WEBHOOK_URL }}

Events Webhook Trigger

The first node receives all messages from Slack API via Subscription Events API. You can find more information about setting up the subscription events API by [clicking here]({{ $env.API_BASE_URL }}

The second node extracts the payload from slack into an object that n8n can understand. ![n8n]({{ $env.WEBHOOK_URL }}

Efficient Slack Interaction Handling with n8n

This section of the workflow is designed to efficiently manage and route

Steps

  • Venafi TLS Protect Cloud (venafiTlsProtectCloud)
  • Parse Webhook (set)
  • Sticky Note (stickyNote)
  • Sticky Note15 (stickyNote)
  • Sticky Note11 (stickyNote)
  • Close Modal Popup (respondToWebhook)
  • Sticky Note8 (stickyNote)
  • Respond to Slack Webhook - Vulnerability (respondToWebhook)
  • Sticky Note2 (stickyNote)
  • Venafi Request Certificate (httpRequest)
  • Extract Fields (set)
  • Get Slack User ID (set)
  • Translate Slack User ID to Email (executeWorkflow)
  • VirusTotal HTTP Request (httpRequest)
  • Summarize output to save on tokens (set)
  • Auto Issue Certificate Based on 0 Malicious Reports (if)
  • Auto Issue Certificate (noOp)
  • Generate Report For Manual Approval (noOp)
  • Get Slack Team ID (set)
  • Execute Workflow (executeWorkflow)
  • Merge User and Team Data (merge)
  • OpenAI (noOp)
  • Sticky Note16 (stickyNote)
  • Sticky Note1 (stickyNote)
  • Merge Requestor and VT Data (merge)
  • Sticky Note3 (stickyNote)
  • Sticky Note12 (stickyNote)
  • Sticky Note17 (stickyNote)
  • Sticky Note6 (stickyNote)
  • Send Auto Generated Confirmation (slack)
  • Send Message Request for Manual Approval (slack)
  • Route Message (switch)
  • Venafi TLS Protect Cloud1 (venafiTlsProtectCloud)
  • Send Auto Generated Confirmation1 (slack)
  • Sticky Note4 (stickyNote)
  • Manual Issue Certificate (noOp)
  • Webhook (webhook)
  • Respond to webhook success (respondToWebhook)

Import

Download the JSON from the GitHub source and import it in n8n (Workflows, Import from file).

Source and license

Source: https://github.com/Zie619/n8n-workflows/blob/main/Webhook/1733_Webhook_Slack_Automate_Webhook.md

Author: Zie619, n8n workflow collection. License: MIT.

Shown here with formatting for the web. Keep the author and license notice when you reuse it.

Related entries

There are more like this in the members library

The n8n workflow library holds 1,814 entries. Members can search all of them by meaning and read every one in full.