MagicDoor icon

MagicDoor

Interact with MagicDoor API

Overview

This node interacts with the MagicDoor API to retrieve email campaign trackers associated with a specific company. It is useful for marketing automation workflows where you need to fetch tracking data related to email campaigns sent by or linked to a particular company. For example, you might use this node to gather analytics on email open rates, click-throughs, or other engagement metrics filtered by company.

Properties

Name Meaning
Company ID The ID of the company to filter email campaign trackers by. This is a required numeric value.

Output

The node outputs JSON data representing the email campaign trackers retrieved from the MagicDoor API for the specified company. The structure typically includes details about each tracker such as identifiers, status, timestamps, and possibly engagement metrics. If the API supports binary data (e.g., attachments or reports), the node would include it accordingly, but based on the provided code, only JSON output is expected.

Dependencies

  • Requires an API key credential for authenticating with the MagicDoor API.
  • The base URL for the API must be configured in the node credentials.
  • Network access to the MagicDoor API endpoint.

Troubleshooting

  • Missing or invalid Company ID: Ensure that the Company ID property is set and is a valid number.
  • Authentication errors: Verify that the API key credential is correctly configured and has necessary permissions.
  • API connectivity issues: Check network connectivity and the correctness of the base URL.
  • Unexpected API responses: Since HTTP status errors are ignored (ignoreHttpStatusErrors: true), inspect the returned JSON for error messages if the output is empty or malformed.

Links and References

Discussion