Overview
This node triggers workflows in n8n when specific events occur in the Payfunnels platform. It listens for webhook notifications from Payfunnels related to payment and invoice activities, such as successful payments, failed payments, recurring payments, and changes to payment links.
Common scenarios where this node is beneficial include:
- Automating follow-up actions after a payment succeeds or fails (e.g., sending confirmation emails or alerts).
- Tracking subscription lifecycle events like the first recurring payment.
- Responding to creation, update, or deletion of payment links to synchronize with other systems.
For example, you could use this node to start a workflow that updates your CRM whenever a payment link is created or to notify your team if a payment fails.
Properties
| Name | Meaning |
|---|---|
| Event | The specific Payfunnels event to listen for. Options: |
| - First Recurring Payment: Trigger when a first recurring payment is made | |
| - Payment Failed: Trigger when a payment fails | |
| - Payment Link Created: Trigger when a payment link is created | |
| - Payment Link Deleted: Trigger when a payment link is deleted | |
| - Payment Link Updated: Trigger when a payment link is updated | |
| - Payment Succeeded: Trigger when a payment is successful (default) |
Output
The node outputs JSON data representing the payload received from the Payfunnels webhook. This JSON contains details about the event that triggered the workflow, such as payment information or invoice data depending on the event type.
The output structure is dynamic and directly reflects the webhook's body content sent by Payfunnels.
No binary data output is produced by this node.
Dependencies
- Requires an API key credential for authenticating with the Payfunnels API.
- Needs internet access to communicate with the Payfunnels API endpoint at
https://api.payfunnels.com/n8n-integration. - The node registers and manages webhooks on Payfunnels via their API, so proper permissions and valid credentials are necessary.
Troubleshooting
- Webhook Creation Failure: If the node throws an error during webhook creation, ensure the provided API key is valid and has sufficient permissions. Network issues or incorrect webhook URLs can also cause failures.
- Webhook Not Triggering: Verify that the selected event matches the actual events occurring in Payfunnels. Also, confirm that the webhook URL is accessible from Payfunnels and not blocked by firewalls.
- Invalid Webhook ID: If the node cannot find or verify the webhook ID, it may be due to manual deletion or expiration on Payfunnels' side. Recreating the webhook by reactivating the node usually resolves this.
- Authorization Errors: Check that the API key credential is correctly configured and has not expired or been revoked.
Links and References
- Payfunnels API Documentation (for detailed API and webhook info)
- n8n Webhook Node Documentation (general webhook usage in n8n)