Async action in n8n

Hi

I am creating an action in n8n which calls long running api endpoint. What is recommended way for doing such a long running task in n8n. Can pool for status url with delay?

Describe the problem/error/question

What is the error message (if any)?

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:
  • Database (default: SQLite):
  • n8n EXECUTIONS_PROCESS setting (default: own, main):
  • Running n8n via (Docker, npm, n8n cloud, desktop app):
  • Operating system:

Thank you for your reply

Polling : when we do polling, can we do polling without adding any extra node because we call http request and we would like to add some delay and poll again but n8n does allow to add delay internally.

Webhook, Do you documentation link to create webhook inside out action send to action with webhook so api can callback? We would need this one also without separate node.

I would really appreciate any help on this topic.

1 Like

@Bringasher Thank you for your reply. Would it be possible share a link for pooling and webhook so we can go through the documentation. It will be a great help. We have found some links but i think its not correct.

@Bringasher Link provided for webhook gives 404, Could you please help with right link.

https://docs.n8n.io/integrations/builtin/core-nodes/n8n-nodes/webhook/workflow-development/

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.