Retry a failed workflow with the API

I was wondering, how can one automatically retry the failed executions in n8n with the API? The main I dea is to try and retry all the failed executions without having to go to n8n and manually retry the workflow

  1. Is there a way one can convert the n8n workflow into a html or image? This can be useful when we want to visualize a number of workflows without having to open n8n instance. I tried this with chat GPT but only got the flow charts but not the actual HTML of a given workflow

Eg, the code snippet below provides the whole visualized workflow. Can one generate a static HTML of such to visualize this?

It looks like your topic is missing some important information. Could you provide the following if applicable.

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

Hey @Imperol,

We don’t have a public API for retrying a workflow but I think there could be a feature request somewhere for it though as it does sound like a good idea.

We don’t have a tool to generate a screenshot of a workflow but in theory you could do it with some browser automation using something like puppeteer if you had some time.

That being said I do remember once seeing a post where someone had built something to generate screenshots of workflows. I will do some searching and see if I can find it.

Please share when you find it

1 Like

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