Invoice ninja payment webhook

Describe the problem/error/question

What is the error message (if any)?

I would like that when a complete or partial payment is insert in ninja invoice in n8n a flow start
To achieve this i use invoice ninja trigger with “payment created” as Event.
The webhook urls works i tested it with a RESTer (and also i can create an invoice in ninja invoice with an other flow.
In ninja invoice the webhook is automatically crested in settings
How can i debug it and how can i have the trigger works correctly?

Please share your workflow

(Select the nodes on your canvas and use the keyboard shortcuts CMD+C/CTRL+C and CMD+V/CTRL+V to copy and paste the workflow.)

Share the output returned by the last node

Information on your n8n setup

  • **n8n version: latest self hosted
  • **Database (default: SQLite): Postgres
  • **n8n EXECUTIONS_PROCESS setting (default: own, main): main
  • **Running n8n via (Docker, npm, n8n cloud, desktop app):Docker
  • Operating system:

Hey @lamasseriadipolverar,

Welcome to the community :tada:

Can you clarify what the acutal issue is that you are seeing? If you are not seeing the events being sent to the Invoice Ninja trigger node I would maybe start by checking the webhook url to make sure it is not localhost as this can cause issues if you are not running the other service in the same container.

If i understand correctly the trigger node of the invoice ninja, it should trigger if i insert a payment in invoice ninja.
Invoice ninja is running in an other conteiner.
If i test the webhook from the browser it works correctly, but if i made the payment in inovice ninja it doesn’t work. Maybe a problem with invoice ninja.

If i understand correctly the trigger node of the invoice ninja, it should trigger if i insert a payment in invoice ninja.
Invoice ninja is running in an other conteiner.
If i test the webhook from the browser it works correctly, but if i made the payment in inovice ninja it doesn’t work. Maybe a problem with invoice ninja.

I obtein the result in an other way, saving the id invoice and use the invoiceninja node to find the balance of the invoice… but still curious why the ninja invoice trigger it doesn’t work

Thank you, for me firsts steps into n8n: awesome

Hey @lamasseriadipolverar,

Is the URL for hte trigger localhost? If it is that would explain why it isn’t working.

not it’s https://n8n.***.synology.me:7523 with proxy rerute to internal port of n8n correctly.
All triggers node i use (such as google sheets) work correctly. Also the node to invoice ninja (to compile invoice) works correctly, but the trigger node from invoice ninja event doesn’t.
Thank you very much

Hey @lamasseriadipolverar,

Have you checked that the Invoice Ninja container you are running can reach your n8n instance? I have seen issues like this in the past with other applications. Double check the docker networking and see if the invoice ninja container has something like curl or wget installed so you can do a test from the container itself.

Sorry, but this is out of my skills. I try from the invoice ninja container console (from portainer), but no wget or post is possibile. There is someone so kindly to help me?
Thank you

Hey @lamasseriadipolverar,

You may need to get in touch with the invoice ninja team to see if they have a way to test webhook urls / network connectivity.