Analyze threat detection results via HTTP

Recipe ToolsWorkatoDeveloper ToolAPI IntegrationBotsArtificial IntelligenceSales EnablementProductivity

What it does

When someone makes a function call, this automation retrieves analysis history via HTTP and checks each result. It filters items based on verdict and routes findings to Slack so the team sees threats in real-time.

Who it's for

Security teams who need to process threat detection results from an external service without manual review.

How teams use this

Route threats to Slack immediately

Retrieve analysis results via HTTP and send only items with threats to a Slack channel so the security team responds without reviewing clean results.

Log threat findings to Gmail

Process analysis history and send a summary email to Gmail with all items where the verdict indicates a threat. This creates a searchable audit trail for compliance.

Filter by verdict severity level

Add a condition to check verdict severity and only route high-risk findings to Slack. This requires setting a severity threshold so the team focuses on critical threats.

Notify ops on HTTP failures

Include a check for HTTP status codes that are not 200. If the token request or history fetch fails, send an alert to Slack so operations knows the analysis process stopped.

How it works

  1. Receive the function call. A function call starts this automation in real-time so the analysis process begins immediately without delay.
  2. Request token via HTTP. Call the external service via HTTP to get an authentication token. The Rest connector sends the request and waits for a 200 status code before proceeding.
  3. Fetch Analyze History via HTTP. Use the token to retrieve analysis history from the external service via HTTP. If the status code is 200, the response contains the list of analyses to process.
  4. Send threat findings to Slack. Loop through each analysis result and check the verdict. Post items where the verdict does not equal no_threats to Slack so the team can respond to threats.