A contact form that emailed a spreadsheet no one checked
A small accounting firm's contact form emailed submissions to an inbox that nobody monitored closely, while the firm's actual scheduling tool and CRM sat completely disconnected from it. The form platform had no native integration with either of the other two tools, and hiring a developer to build a full custom backend felt like overkill for what was, functionally, a very small problem: take a form submission, put it in two other places, and send one notification. This is exactly the gap serverless functions were built to close.
What 'serverless' actually means here
Despite the name, serverless doesn't mean there's no server — it means the business doesn't have to manage one. A serverless function is a small piece of code, often just a few dozen lines, that a cloud provider runs on demand in response to a trigger (an incoming HTTP request, for instance) and then shuts down immediately afterward, with the business paying only for the moments it actually ran rather than for a server sitting idle around the clock. For a task like 'receive this webhook, reshape the data, send it to two other places,' this is close to the ideal amount of infrastructure — no server to maintain, no idle cost, and a footprint small enough that one person can understand the entire thing at a glance.
The shape of a typical glue function
- The form platform sends its submission as a webhook to a URL, which is the serverless function's trigger endpoint
- The function receives the incoming JSON payload and validates that it looks like a legitimate submission, not spam or a malformed request
- It reshapes the data into whatever format each destination system expects — field names and structures rarely match exactly between two unrelated platforms
- It makes an outbound API call to the CRM to create the contact record
- It makes a second outbound API call to the scheduling tool, or sends a formatted internal notification, depending on what the business actually needs
- It returns a success response to the original form platform so it knows the submission was received
- Good use cases: connecting two tools with no native integration, reshaping data between mismatched formats, adding simple validation or spam filtering before data reaches a CRM, fanning one event out to multiple destinations
- Poor use cases: anything requiring persistent state between requests, long-running processes, or complex multi-step logic that would be clearer as a proper application
Most broken form-to-CRM flows aren't missing a platform — they're missing forty lines of glue code between two platforms that were never going to talk to each other on their own.
What to get right the first time
The two details that separate a reliable glue function from a fragile one are error handling and idempotency: the function should handle a destination system being briefly unavailable without silently dropping the submission (retrying or at minimum logging the failure somewhere a human will see it), and it should be safe to receive the same webhook twice without creating duplicate records, since retries from the sending platform are common and expected, not a bug.
Where this fits for a small business
This pattern is a good fit whenever a business has outgrown 'email me the form submission' but doesn't have the volume or complexity to justify a full custom backend — which describes a large share of small businesses across real estate, home services, and financial services, where a handful of critical automations matter far more than a sprawling system. NetWebMedia builds this kind of targeted automation as part of ongoing site work, and it connects naturally with the in-house CRM's own webhook support described at https://netwebmedia.com/nwm-crm.html.
Does your business show up when AI answers?
ChatGPT, Claude, Perplexity and Google's AI Overviews are already answering the questions your customers ask. The $49 AI Visibility Scan shows you where you're cited, where you're invisible, and the three changes that move you first — a written report in your inbox within 48 hours. If nothing in it is actionable, you don't pay.
Run the $49 AI Visibility Scan →Share this article
Comments
Leave a comment