n8n

How to Automate Qualys to Slack Report Delivery?

Get security scan reports from Qualys into Slack without waiting around. Teams request a report once and receive the file in their channel as soon as it finishes. This is ideal for SOC and security teams that need fast visibility and fewer manual steps.

The automation is called by a parent bot and sets shared values like the Qualys API base URL. It pulls the list of report templates from Qualys, converts XML to JSON for easy use, and starts a new report with the selected template and format. After launch, it captures the report ID, waits one minute between checks, and polls the status until the report is ready. When the report status shows complete, it downloads the file and uploads it to Slack. The design uses clear steps: HTTP requests for Qualys, XML to JSON conversion for parsing, a loop with a timed wait to avoid constant polling, and a final Slack upload.

Setup is simple: connect Qualys and Slack, confirm the base URL for your Qualys platform, map the fields from your parent form, and test with the included demo data. Expect faster handoffs, no portal switching, and reliable delivery for daily, weekly, or on demand report requests.

What are the key features?

  • Starts from a parent call using Execute Workflow Trigger for seamless handoff
  • Global Variables node stores the Qualys base URL and shared inputs from the parent form
  • HTTP request pulls the list of Qualys report templates
  • XML to JSON nodes make Qualys responses easy to filter and map
  • Report launch uses a dynamic template ID lookup with JMESPath
  • Loop with Split In Batches and a one minute Wait controls polling load
  • Status check reads the Qualys report state and routes only when finished
  • Automatic download of the completed report before delivery
  • Slack node uploads the PDF or HTML file to the selected channel

What are the benefits?

  • Reduce manual status checks from many per report to zero by polling every minute until complete
  • Deliver finished reports to Slack within minutes so teams can act faster
  • Eliminate portal logins for report access by sharing files directly in a channel
  • Handle multiple report requests in a day with the same automation
  • Improve accuracy by selecting template IDs directly from the Qualys API list

How do you set it up?

  1. Import the template into n8n: Create a new workflow in n8n > Click the three dots menu > Select 'Import from File' > Choose the downloaded JSON file.
  2. You'll need accounts with Slack and Qualys. See the Tools Required section above for links to create accounts with these services.
  3. Open the Global Variables node and confirm the base_url matches your Qualys platform. Update it if your account uses a different region.
  4. In the n8n credentials manager, set up Qualys credentials. Double click any Qualys HTTP Request node, choose the 'Credential to connect with' dropdown, click 'Create new credential', then follow the on screen steps.
  5. In the n8n credentials manager, set up the Slack credential. Double click the Slack node, choose 'Create new credential', complete OAuth, and ensure the app has permission to upload files and post messages.
  6. If testing without the parent bot, enable the Demo Data node to simulate inputs such as template name, report title, output format, and Slack channel.
  7. Open the Fetch Report IDs node and click Execute Node. Confirm the XML to JSON step shows a list of templates you can search.
  8. Open the Launch Report node and verify the template_id expression resolves to an ID from the template list, and that output format and title map from your inputs.
  9. Run the automation once. Watch the Wait node pause for one minute between checks while the status call looks for a finished state.
  10. When complete, confirm the Download Report node returns a file and that the Slack node posts it to the chosen channel.
  11. If nothing posts to Slack, check that your Slack credential has files and chat permissions and the channel ID is correct.
  12. If the status never reaches finished, verify your Qualys base_url region, user permissions, and that the selected template exists for your account.

Tools Required

$24 / mo or $20 / mo billed annually to use n8n in the cloud. However, the local or self-hosted n8n Community Edition is free.

Qualys

Sign up

VMDR TruRisk (SME): Starting at $2,195; includes API support

Slack

Sign up

Free plan: $0 / mo; limited to 10 apps (third-party or custom) and usable via Slack API

Similar Templates

Join Futurise to access 1,200+ automation templates

Get instant access to ready-made automation workflows for n8n, Make.com, AI agents, and more. Download, customise, and deploy in minutes.