Skip to content
Sales & CRM

Failed login form webhook with CRM and owner notification

7 nodes 30 2 Webhook
Download

Loading workflow…

Workflow Description

The workflow receives POST requests on a webhook path for a failed-login-monitor form, then normalizes the payload by setting a fixed source and an input field containing the request body. An IF node checks that input is not empty; on success it sends an authenticated POST to create a CRM record, then another POST to notify the owner, and returns {"status":"created"}; on failure it returns {"status":"missing-fields"}. All URLs and body values are placeholders that must be replaced, and both HTTP nodes use generic credentials the user must configure.

How it works

  1. 1.The Form Webhook node accepts POST requests at path it-ops-security-failed-login-monitor-form with responseMode=responseNode.
  2. 2.Normalize Form sets source to a fixed string and input to the request body.
  3. 3.Required Fields checks that input is not empty and routes to the success or failure branch.
  4. 4.Success branch: Create CRM Record sends a POST with generic credentials, Notify Owner sends a notification POST, and Respond OK returns {"status":"created"}.
  5. 5.Failure branch: Respond Missing returns {"status":"missing-fields"}.

Use cases

  • Logging failed-login security reports submitted via a web form into a CRM system.
  • Notifying a security owner or on-call responder about each submitted report.
  • Automatically rejecting incomplete form submissions with an immediate JSON response.

Requirements

  • The workflow must be activated for the webhook to receive requests.
  • HTTP generic credentials must be configured for both Create CRM Record and Notify Owner nodes.
  • Placeholder URLs and REPLACE_WITH_YOUR_VALUE body values must be replaced with real endpoints and identifiers.
  • Callers must submit a non-empty input field in the request body.

Setup and testing in n8n

  1. POST to /webhook/it-ops-security-failed-login-monitor-form with a non-empty body and verify the {"status":"created"} response.
  2. Send an empty body and verify the {"status":"missing-fields"} response.
  3. Inspect the execution log to confirm the correct branch and HTTP nodes ran.

Service Value

Ready-made workflow template for automation delivery and service execution.

Apps Used

Webhook Set If HTTP Request

Details

Trigger Webhook
Nodes 7
Apps 4
Views 30
Downloads 2

How to Use

  1. 1.Click "Download Template"
  2. 2.Open your n8n dashboard
  3. 3.Go to Workflows > Import from File
  4. 4.Select downloaded file and configure credentials

Nodes Used (7)

Form Webhook

Webhook

#1

Normalize Form

Set

#2

Required Fields

If

#3

Create CRM Record

HTTP Request

#4

Notify Owner

HTTP Request

#5

Respond OK

Webhook

#6

Respond Missing

Webhook

#7

Source and license

Sticky Note

#8
Stay in the loop

Fresh workflows, straight to your inbox

Get newly published DROPIDEA workflows, a clear overview of what they do, and a link to explore them.

  • New workflows
  • Clear overviews
  • Setup guides

Be first to discover what is new

Your name, your email, and one confirmation.

Email confirmation · Unsubscribe anytime