widget lead capture

    by Tuhin

    1

    Deploy, configure, and manage embeddable lead capture form widgets with automated spam filtering and geo-enrichment.

    Free

    Security scanned

    Works with the AI Agents you already use

    widget lead capture

    Example session with this skill installed

    Set up the lead capture platform on localhost:3000 and create a contact widget with name, email, and message fields.

    • Read your context and instructions
    • Compiled the widget lead capture

    The lead capture platform is deployed and the contact widget is ready. I have configured the environment, started the Docker containers, and initialized the API server.

    Widget Deployment Details

    The following widget has been created and is ready for embedding:

    PropertyValue
    Widget ID550e8400-e29b-41d4-a716-446655440000
    Typecontact
    TitleContact Our Team
    Themelight
    Primary Color#4F46E5
    Fieldsname (text), email (email), message (textarea)

    Embed Code

    <!-- Copy and paste this snippet into your HTML where you want the form to appear -->
    <script src="http://localhost:3000/widget.js?id=550e8400-e29b-41d4-a716-446655440000"></script>
    

    Next steps

    1. Verify Installation: Open your website and confirm the form renders after the script tag.
    2. Test Submission: Submit a test entry to verify the "Sending..." state and success message.
    3. Check Leads: Run the submissions command via widget_api.py to view your captured data.

    Connects securely to your tools. The creator never sees your data.

    About this skill

    Self-hosting a lead capture system often requires juggling database configurations, environment secrets, and complex API integrations. This skill automates the deployment and management of a private lead-capture platform, giving you full control over your data without third-party subscription fees.

    What it does

    • Platform Deployment automated setup of the Node.js API server, PostgreSQL database, and Mailpit via Docker Compose.
    • Widget Generation creates customizable contact and newsletter forms with specific fields, themes, and primary branding colors.
    • Embedded Integration provides single-line script tags that inject forms into any HTML document with automatic DOM placement.
    • Lead Management retrieves paginated form submissions and geographic analytics through a secure CLI interface.
    • Spam Protection implements invisible honeypot filters to drop bot traffic while returning decoy success responses.

    How it works

    1. Initialize Environment clones the platform repository, configures .env files, and starts the containerized infrastructure.
    2. Account Provisioning registers a new administrative user with encrypted credentials to manage the private API.
    3. Widget Configuration defines form fields (text, email, textarea) and visual styles via the widget_api.py utility.
    4. Site Integration embeds the generated <script> tag into the target website to begin collecting leads.

    Frameworks & tools

    Built with Node.js, Express, and PostgreSQL. Infrastructure is managed via Docker and Docker Compose. Local mail testing is handled by Mailpit. API interactions are driven by a Python-based CLI wrapper.

    Why this beats prompting it yourself

    Manual setup often leads to broken database migrations or exposed credentials in shell history. This skill enforces secure authentication patterns using --password-stdin and ensures proper CORS and environment variable mapping out of the box.

    Use cases

    • Deploying a private lead capture backend for a portfolio or agency site.
    • Building custom newsletter signup forms that bypass standard ad-blockers.
    • Collecting structured feedback from clients without using external SaaS forms.
    • Monitoring submission trends and geographic data for local marketing campaigns.

    Known limitations

    This is for local or private self-hosted environments and is not a production-ready cloud deployment guide. API payloads are strictly limited to 10 KB, and form data must be under 5,000 characters.

    How to use

    1. 1

      Connect your agent to the Agensi MCP

      Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup

    2. 2

      Sign in to Agensi

      Your agent shows a sign-in link. Sign in and click Allow.

    3. 3

      Ask for what you need

      Your agent loads this skill and uses it on your task. It always asks before buying a skill.

    Reviews

    No reviews yet

    Be one of the first to try it. Every listed skill goes through the trust checks below.

    Security scanned

    Checked by our 8-point scan before listing

    Fresh listing

    Recently published to Agensi

    Free to use

    No account required to browse

    Trust & safety

    Security scan

    Security scan passed 18 days ago

    • Free with an Agensi account

    Software
    PythonserveNode.jsGit

    Permissions

    Terminal / Shell
    Network Access
    Write Files

    Allowed Hosts

    .
    n
    Listed18 days ago

    What's inside

    Frequently Asked Questions

    Unlike SaaS form builders that charge monthly fees and store your data externally, this skill deploys a private infrastructure where you own the database, ensuring complete data privacy and no recurring subscription costs.

    The skill requires an environment with Docker and Docker Compose installed; it is designed to work with any AI agent capable of executing shell commands and managing file systems to handle the container orchestration.

    Yes, the 'Widget Generation' feature allows you to define specific fields, themes, and branding colors, generating a single-line script tag that can be embedded into any HTML-based website.

    It includes an invisible 'honeypot' filtering system that identifies and drops bot traffic automatically, while providing decoy success responses to prevent scrapers from identifying the filter.

    The purchase includes the complete automated deployment scripts, the Node.js API server source, the PostgreSQL database configuration, and the Python-based CLI wrapper for managing leads.

    While designed for private or local environments, the system is built on industry-standard Docker containers, making it portable for users who wish to transition it to a private cloud server later.

    New in APIs & Backend

    Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for APIs & Backend.

    Free