Is it Possible to Retrieve and Update Workflow Components Codes via Pipedream API or CLI?

This topic was automatically generated from Slack. You can find the original thread here.

Hello, I can’t find anything relevant about retrieving workflows components codes (for example python or Node.js) using the pipedream API or CLI.
First of all is it possible ? and if so how could it be done ?
My use case is: I want to retrieve all the workflows who are mentionning a specific string (for maintenance), and then (potentially) update the workflow by replacing the old string with a new one.
This action is really painfull in the UI as we need to inspect manually each and everyone of the workflows and look for the searched pattern.
Thanks a lot for your help

It seems like your message was incomplete or missing a specific question. Could you please provide more details or clarify your question so I can assist you better?

Not very helpfull, any human to help me on this topic please ?

Hi , this is not available via the REST API / CLI

Is this a code snippet you use frequently for the same occasion?

Have you tried publish a private action to your workspace?

Though the issue of finding the workflows using the action step will still not be improved…

Seems like GitHub Sync would be the easiest way, right? You could just find and replace across all the workflows in a given repo / project, then merge to production.