EmailConnect icon

EmailConnect

Interact with EmailConnect API for email automation

Overview

This node integrates with the EmailConnect API to manage email-related resources, specifically focusing here on creating webhooks. The "Webhook Create" operation allows users to register a new webhook URL that will receive email data from the EmailConnect service. This is useful for automating workflows triggered by incoming emails, such as processing email content, triggering notifications, or integrating with other systems.

Practical examples include:

  • Automatically forwarding incoming email data to a CRM system via a webhook.
  • Triggering serverless functions or cloud workflows when an email arrives.
  • Logging or analyzing email metadata in real-time by sending it to a custom endpoint.

Properties

Name Meaning
URL The webhook URL where the email data will be sent. Example: https://myapp.com/webhook/email
Description Optional text describing the webhook's purpose or usage, e.g., "Main email processing webhook"

Output

The node outputs JSON objects representing the created webhook resource as returned by the EmailConnect API. The output JSON typically includes details such as the webhook ID, URL, description, and possibly other metadata related to the webhook configuration.

No binary data output is produced by this operation.

Example output structure (simplified):

{
  "id": "webhook-id",
  "url": "https://myapp.com/webhook/email",
  "description": "Main email processing webhook",
  // additional webhook properties...
}

Dependencies

  • Requires an active connection to the EmailConnect API.
  • Needs an API authentication token configured in n8n credentials to authorize requests.
  • The node uses HTTP methods (POST) to create webhooks via the /api/webhooks endpoint of the EmailConnect API.

Troubleshooting

  • Common issues:

    • Invalid or unreachable webhook URL: Ensure the URL is correct and publicly accessible.
    • Missing or invalid API credentials: Verify that the API key/token is correctly set up in n8n.
    • Network connectivity problems: Check network/firewall settings that might block access to the EmailConnect API.
  • Error messages:

    • "Invalid URL" or similar validation errors indicate the webhook URL does not meet expected format requirements.
    • Authentication errors suggest issues with the provided API credentials.
    • API rate limits or quota exceeded errors require checking the EmailConnect account limits.

To resolve these, verify input parameters, ensure valid credentials, and confirm network accessibility.

Links and References

Discussion