HttpRequest Automate

For Fastmail, this workflow automates the creation of masked email addresses via a webhook, allowing users to generate disposable emails for privacy or testing. It retrieves session information, processes user-defined states and descriptions, and responds with the newly created masked email, streamlining email management and enhancing user privacy.

7/8/2025
7 nodes
Simple
webhooksimplerespondtowebhooksticky noteapiintegration
Categories:
Simple WorkflowWebhook Triggered
Integrations:
RespondToWebhookSticky Note

Target Audience

  • Privacy-Conscious Users: Individuals looking for temporary or disposable email addresses to protect their personal information online.
    - Developers and Testers: Those who need to generate multiple email addresses for testing purposes without cluttering their main inbox.
    - Businesses: Companies wanting to provide customers with a way to interact without exposing their actual email addresses, enhancing user privacy.
    - Marketing Professionals: Marketers who need to create unique email addresses for campaigns or user segmentation without revealing their main email addresses.
  • Problem Solved

    This workflow automates the creation of masked email addresses using the Fastmail API, addressing the need for privacy and security in online communications. By generating temporary email addresses, it helps users avoid spam and maintain anonymity while interacting with various online services.

    Workflow Steps

  • Webhook Trigger: The workflow starts when a POST request is sent to the defined webhook URL. Users can include state and description in the request body to customize the masked email.
    2. Session Retrieval: An HTTP request is made to the Fastmail API to obtain session information, which is necessary for authenticating subsequent API requests.
    3. Field Preparation: The workflow extracts the state and description from the webhook request, defaulting to pending for state and Test via N8n for description if not provided.
    4. Masked Email Creation: Using the session data, a POST request is sent to Fastmail's JMAP API to create a new masked email. The request includes the user-defined state and description.
    5. Output Preparation: After the masked email is created, the workflow prepares the output by extracting the newly created email address and attaching the description.
    6. Response to Webhook: Finally, the workflow responds to the initial POST request with the newly created masked email and its description, ensuring the user receives immediate feedback.
  • Customization Guide

  • Modify Webhook Path: Users can change the webhook path to customize the endpoint for triggering the workflow.
    - Adjust Default Values: The default values for state and description can be modified in the 'get fields for creation' node to suit specific needs.
    - Add More Email Creation Logic: Users can extend the workflow by adding additional nodes to handle different email creation scenarios or to integrate with other services.
    - Error Handling: Implement error handling nodes to manage potential issues with API requests or invalid input data, ensuring smooth operation.
  • HttpRequest Automate - N8N Workflow Directory