CraftMyPdf icon

CraftMyPdf

Consume the CraftMyPDF API

Actions7

Overview

The node integrates with the CraftMyPDF API to retrieve account information. Specifically, for the Account - Get operation, it fetches details about the user's CraftMyPDF account. This can be useful in scenarios where you want to verify account status, check subscription details, or retrieve metadata related to your CraftMyPDF usage within an automated workflow.

Practical example:
You might use this node to automatically pull your account info at the start of a workflow to confirm that your API credentials are valid and to log account details before performing PDF generation or image creation tasks.

Properties

Name Meaning
Region The geographical endpoint of the CraftMyPDF API to connect to. Options include:
- Default Endpoint (api)
- Australia (api-au)
- Europe (Frankfurt) (api-de)
- US East (N. Virginia) (api-us)
- Alternative Europe (Frankfurt) (api-alt-de)
- Alternative Singapore (api-alt)
- Alternative US East (N. Virginia) (api-alt-us)
- Staging (api-staging)

This property determines which regional API server the node will communicate with when making requests.

Output

The output is a JSON array containing the account information retrieved from the CraftMyPDF API. The structure corresponds to the data returned by the /get-account-info endpoint and typically includes fields such as account identifiers, subscription status, usage limits, and other metadata related to the user's account.

No binary data is produced by this operation.

Dependencies

  • Requires an active connection to the CraftMyPDF API via an API key credential configured in n8n.
  • The node depends on network access to the selected regional endpoint of the CraftMyPDF service.
  • No additional external dependencies beyond the API key and internet connectivity.

Troubleshooting

  • Invalid JSON errors: Not applicable for this operation since no JSON input is required.
  • API authentication errors: If the API key is invalid or missing, the node will fail to retrieve account info. Ensure the API key credential is correctly set up.
  • Region misconfiguration: Selecting an incorrect or unavailable region endpoint may cause connection failures. Verify the region matches your account's supported endpoints.
  • Network issues: Connectivity problems to the CraftMyPDF API endpoints will result in request failures. Check firewall and proxy settings if needed.

Links and References

Discussion