Alert on Papertrail VPN login events via SMS

Developer ToolAPI IntegrationData ParserRecipe ToolsBots

What it does

When a VPN login event arrives in Papertrail, this automation parses the log and sends an SMS alert. Someone on the security team gets notified in real time so suspicious activity can be investigated immediately.

Who it's for

Security teams who monitor VPN access and need instant alerts on login events.

How teams use this

Alert on failed VPN login attempts

Parse Papertrail logs for failed VPN login events and send an SMS to the on-call security engineer. The same flow works for any login failure pattern the team wants to monitor.

Route VPN alerts by geography

Add a condition to check the IP address location in the Papertrail log and send SMS only for VPN logins outside approved regions. This keeps alerts focused on truly suspicious activity.

Escalate VPN incidents to response team

Send the Slack alert to a dedicated security channel and the SMS to an incident response team. The automation stays the same and only the destinations change.

Notify IT of VPN access anomalies

Include IT in VPN login alerts by posting to an IT channel and filtering for logins from new devices. IT can then verify the device is authorized before the user gains full network access.

How it works

  1. Receive VPN login from Papertrail. A webhook from Papertrail sends a VPN login event to this automation in real time whenever someone accesses the VPN.
  2. Parse the log data. Extract the message and details from the Papertrail webhook payload so the automation can read the login information.
  3. Post alert to Slack. Send a message to a Slack channel with the VPN login details and a button to investigate the event further.
  4. Send SMS alert. Text the Papertrail log message to someone on the security team so they see the suspicious VPN login right away.