Giter Site home page Giter Site logo

Comments (58)

dylburger avatar dylburger commented on May 20, 2024 7

Adding a comment from #857 here. When we support an API / CLI for deploying workflows, we plan to also let you serialize workflows to plaintext (e.g. JavaScript code with some config locally), which means you'd be able to store them in Git. That feature would enable the request below.

"For testing my workflow with a real case, I need to deploy my code, so everytime I test something I create a new version of the workflow. My workflow ends up with lots of versions. Most of them have bugs or are here for testing/debugging
Sometimes I want to go back to a specific version but I can't remember which one it was, it can be 10 versions back or more, it's hard to identify versions and difference between them

Describe the solution you'd like
Something closer to real code versioning, so more like git commits:

being able to add a comment to a version. This would be a "quick win", as I could just tag a revision that I know is working before creating more revisions, So I can easily come back to it even if I created many revisions after.
Nice to have: being able to compare 2 versions of a workflow"

from pipedream.

mmmoli avatar mmmoli commented on May 20, 2024 6

Would LOVE ❀️ this feature.

We manage code in a monorepo and storing workflows would be πŸ‘Œ πŸ‘Œ πŸ‘Œ

from pipedream.

charlie-s avatar charlie-s commented on May 20, 2024 5

@sjn001tvh and anyone else that needs it, you can hit https://api.pipedream.com/v1/users/me/workflows (use the Authorization: Bearer ... header from the settings page) to download a JSON array of your workflows, including custom code in any components.

from pipedream.

EricWu91 avatar EricWu91 commented on May 20, 2024 5

Please make this happen! πŸ™Œ

from pipedream.

 avatar commented on May 20, 2024 4

This would be very useful.

from pipedream.

moltar avatar moltar commented on May 20, 2024 4

Would love to get this supported, this way we can migrate our processes from unstable Zapier zaps and Integromat scenarios to proper code solution with some tests.

from pipedream.

mmmoli avatar mmmoli commented on May 20, 2024 4

Any updates on when this feature is likely to land? πŸ‘€πŸ‘€

from pipedream.

brandonminch avatar brandonminch commented on May 20, 2024 4

+1 for this! We would love to be able to create workflow templates that can can be duplicated, configured, and deployed on behalf of various clients. For example, a client could visit our website and select a workflow template, input a few configuration options in a user-friendly UI, and deploy the workflow all via the pipedream API behind the scenes.

from pipedream.

morganism avatar morganism commented on May 20, 2024 3

@dylburger Thank you! I am finding Pipedream really useful, Workflow management via CLI would be great. I'm pretty new to this service, but picking up the concept and how to get real utility out of it is not a chore. I'll DM you if I can.

from pipedream.

EricWu91 avatar EricWu91 commented on May 20, 2024 3

Would love to hear updates from the team!

from pipedream.

cakemountain avatar cakemountain commented on May 20, 2024 2

πŸ‘ for this, right now it's the only thing preventing my team from using your service!

from pipedream.

dylburger avatar dylburger commented on May 20, 2024 2

@cakemountain I hear you and we are working on an early version of this now! We’ll be sharing details on that here. We’d love y’all and anyone else watching this issue to test the beta when it’s ready.

from pipedream.

doronlh avatar doronlh commented on May 20, 2024 2

+1

from pipedream.

dylburger avatar dylburger commented on May 20, 2024 2

@EricWu91 We aren't planning on adding a GitHub issue to track that. We generally use GitHub only for new features, bugs, and integration requests, but not requests to transition features to different plans. I did share all this feedback with the team, though.

from pipedream.

sjn001tvh avatar sjn001tvh commented on May 20, 2024 1

Geetings. I'm a newby to Pipedream, but after several weeks of working with workflows between Dropbox and ClickUp etc., I've been able to accomplish a lot processing information from phone to the ClickUp app. However, as I have developed these routines, there have been instances where I have deleted a step... I know, I know, even though it warns me about the delete, I just needed it to get out of the way so I could try another option, and of course when I did... I lost the routine. I only had to do that once, and fortunately it wasn't filled with a lot of functions, etc. I've looked and asked about a utility that will allow me to save a step, maybe as an archive, so it suggested I follow this issue.

At this point, my only option is to cut and paste the code between the async(events, steps, auths) {...} and place them in a .js files defined as functions. Does anyone have a better method? Then, I can test the code, and if it works, cut and paste the new version back into my .js functions file. Thanks.

from pipedream.

cakemountain avatar cakemountain commented on May 20, 2024 1

@dylburger love hearing it. Do you have an approximate release timeline for the beta?

from pipedream.

dylburger avatar dylburger commented on May 20, 2024 1

I don’t, but I’ll let you know as soon as we have clarity on that.

from pipedream.

jondkinney avatar jondkinney commented on May 20, 2024 1

This would be great! Looking forward to hearing some updates, hopefully.

from pipedream.

cfjedimaster avatar cfjedimaster commented on May 20, 2024 1

Oh - duh - I misread you as someone from PD. :)

from pipedream.

dsolovay avatar dsolovay commented on May 20, 2024 1

Glad to see this in progress! I'll share a use case that I didn't see discussed. I'm doing a demo of a new webhook feature in a different platform (Sitecore 10.3), and am using Pipedream to show how this feature can be used to build out an integration. I'm planning to share my code in "gist" form, but this will require a lot of copy/pasting by users. Having a standard export format (a la Postman collections) would make this much easier to share, and would also drive adoption.

from pipedream.

EricWu91 avatar EricWu91 commented on May 20, 2024 1

πŸ‘ Would love to be able to edit my code at the comfort of my IDE's, instead of the online Monaco. I mean, it is the reason why we can deploy workflows today at all, but it's very hard to scale. I have "long" (+300 lines) workflows, and it becomes upsettingly slow.

from pipedream.

The-TT-Hacker avatar The-TT-Hacker commented on May 20, 2024 1

I think pipedream would see much more adoption if this workflows API existed.
It would allow workflows to be managed using version control and IaC (e.g. a terraform module).
They should really be deployed by CI/CD pipelines.

from pipedream.

mroy-seedbox avatar mroy-seedbox commented on May 20, 2024 1

Maybe they could make the feature usage-based for lower plans. Just charge an extra credit per invoke for workflows that are synced to GitHub.

from pipedream.

EricWu91 avatar EricWu91 commented on May 20, 2024 1

@dylburger, sorry for the confusion.

What I meant by - one for CLI, one for API - but not for GIT. was that I expected that all three topics in this issue ("Deploy / Update Workflows via Git, API, CLI") would have a different Github issue. Since you ommited a GIT-related issue, I thought it was being disregarded in favor of (the product) Github Sync.

As for a Github issue to track internal matters (i.e. pricing tiers), that makes all sense and I didn't expect otherwise :).

The CLI & API features will effectively allow users to roll up their own GitHub integration anyway (or use any other version control provider), by creating a very simple CI/CD pipeline/workflow.

@mroy-seedbox I would still pay for the ease of not having to deal with it, though. Just (still) not as much.

from pipedream.

EricWu91 avatar EricWu91 commented on May 20, 2024 1

My needs (and hopefully the ones of others in this issue) are just as you pointed out: Being able to develop locally, automatically versioning in a VCS (Git preferred, but not mandatory), and being able to still use Pipedream's infrastructure to run workflows.

If an API/CLI integration is made available, and it accomplishes the points above without an inherent need for a Git integration, I'm fine with it :).

from pipedream.

dylburger avatar dylburger commented on May 20, 2024

We've launched the first version of the Pipedream CLI: https://docs.pipedream.com/cli/reference/

The CLI supports managing Event Sources for now (not yet workflows), so I updated the title of this ticket to reflect the need for managing workflows via CLI, and am keeping it open to track that request.

from pipedream.

cakemountain avatar cakemountain commented on May 20, 2024

@dylburger okay gotcha. if you're taking applicants for early access or beta testing we're highly motivated. Reach out to me on LinkedIn if you want to connect.

from pipedream.

ak--47 avatar ak--47 commented on May 20, 2024

this is my local workflow for writing tests inside of VSCode and constantly redeploying changes to pipeDream:

one file, 4 shells:

workflow

essentially:

  • pd dev (watch for changes)
  • pd logs (so i don’t need the web browser)
  • jest tests on my code
  • a scratchpad for doing random stuff

community post: https://pipedream.com/community/t/developing-code-steps-in-a-workflow-locally/1489

from pipedream.

cfjedimaster avatar cfjedimaster commented on May 20, 2024

Interesting - so this would be a code view of a complete workflow then? And in theory, we will next have a way to push these back? (Well one at a time. ;) And I assume we will have an endpoint to get one workflow eventually?

from pipedream.

charlie-s avatar charlie-s commented on May 20, 2024

It's not listed as an endpoint in their REST API docs. I also tried getting a workflow by ID without success. You may find that some POST/PUT requests work, but I wouldn't count on it in terms of creating/updating nested objects and such.

I just don't like the idea of building a complicated workflow that my users will depend on without having version control / backups. So this is better than nothing.

from pipedream.

andre-brunetta avatar andre-brunetta commented on May 20, 2024

@sjn001tvh and anyone else that needs it, you can hit https://api.pipedream.com/v1/users/me/workflows (use the Authorization: Bearer ... header from the settings page) to download a JSON array of your workflows, including custom code in any components.

How would you paginate?

from pipedream.

richayles avatar richayles commented on May 20, 2024

+1

from pipedream.

renattomachado avatar renattomachado commented on May 20, 2024

+1

from pipedream.

jibe-b avatar jibe-b commented on May 20, 2024

+1 too :)

from pipedream.

jibe-b avatar jibe-b commented on May 20, 2024

+1 too :)

from pipedream.

blangley88 avatar blangley88 commented on May 20, 2024

+1 @brandonminch nailed it here, this would be ideal for our business use-cases as well!

from pipedream.

kaneg avatar kaneg commented on May 20, 2024

+1

from pipedream.

ldbartlett avatar ldbartlett commented on May 20, 2024

+1 @brandonminch This would help streamline the solutions we develop to be deployed in a user-friendly manner!

from pipedream.

phefti avatar phefti commented on May 20, 2024

+1 here as well, great future option that would add a lot of value.

from pipedream.

weiserman avatar weiserman commented on May 20, 2024

+1 for using in workflows. Would be great to leverage co-pilot for code completion and suggestions.

from pipedream.

EricWu91 avatar EricWu91 commented on May 20, 2024

from pipedream.

mroy-seedbox avatar mroy-seedbox commented on May 20, 2024

This is 100% required in order to scale out Pipedream to hundreds of workflows, especially when many of them are very similar, or even identical (but running on different schedules or triggers, or with different parameters). Ex: run job A (via external API call), and wait for it to complete, then retrieve the results, and send them to Slack -- and do the same for job B, C, D, E, and so on...

Reusable actions/components are nice, but they only apply to one step. And then it is tedious to manually apply the new version in a multitude of workflows.

Manually managing hundreds of similar workflows is a no-go. It's kinda like copy pasting the same code all over the place: no one wants to maintain that mess (which version of the code/workflow is the most up-to-date, etc.). At least if we could look at all our workflows "at once" in an IDE, it would help to manage the repetitions, and make simultaneous updates/apply refactorings. I dream of editing Pipedream workflows directly in VS Code, and then using an awesome VS Code extension with all kind of cool features to interface directly with Pipedream from VS Code.

Also, with workflow management via API/Git/CLI, we could add a layer of abstraction on top of Pipedream, allowing us to define a generic/reusable/configurable workflow once, and then deploy it multiple times (with different parameters, schedules, or triggers).

Of course, reusable workflows or multi-step actions/components would also be very helpful, and could accomplish similar goals. Zapier has something similar, called "Sub-Zaps".

from pipedream.

peteratticusberg avatar peteratticusberg commented on May 20, 2024

+1

from pipedream.

n0vakovic avatar n0vakovic commented on May 20, 2024

+1

from pipedream.

danhstevens avatar danhstevens commented on May 20, 2024

+1

from pipedream.

EricWu91 avatar EricWu91 commented on May 20, 2024

First and foremost:
Is this the feature we've all been waiting for?

image

If it is, it looks amazing.

But this is slightly more disheartening.

image

I understand your business model, and I know you guys also need to make a buck. But 99/month for a single dev, in slightly larger projects is prohibitive. That's five times as expensive as the previous pricing tag!

from pipedream.

EricWu91 avatar EricWu91 commented on May 20, 2024

For context, I'm a single developer working on a few personal projects. I've replaced some of my backend code with Pipedream workflows, because it is so much easier to have an app calling a fixed URL than having to worry about all that infrastructure.

That being said, my workflows are amounting to almost 800 lines each, and editing, testing, developing online becomes a big nuisance very fast. Monaco is fine for a few hundred lines tops, and shouldn't be used for slightly larger codebases!

So... how am I supposed to keep working on my PD workflows if the alternative to wasting hours working with a feature-less IDE is paying 100 dollars a month (1200 upfront)?

from pipedream.

Stvad avatar Stvad commented on May 20, 2024

Seems like it's indeed the feature we've been waiting for. I'm very surprised to see it gated behind paywall it's such a foundational thing πŸ€”

from pipedream.

EricWu91 avatar EricWu91 commented on May 20, 2024

@dylburger can you please provide updates on this? Even if it means to answer dryly "Yes, we heard your requests, we developed them, and we'll paywall them. Live with it.". At least we will have an answer.

from pipedream.

dylburger avatar dylburger commented on May 20, 2024

First, I really appreciate all the feedback! We have a small team for the size of the business we're operating, so it can take us longer than we'd like to groom GitHub issues.

We recently reduced the base price of all of our plans for new customers (see our pricing page), and are considering further expansion of GitHub support to lower tiers (e.g. for personal vs. organizational use). Like some of y'all have mentioned, since we operate a business, we think carefully about the value we're providing at each tier, gating some features at different tiers accordingly. But we hear the feedback, and I'm sharing all of this with the broader team so they see it.

Since this issue also operated as a catch-all for Git serialization and a workflow API + CLI, I'm closing this master ticket and opening separate tickets for the remaining work:

from pipedream.

EricWu91 avatar EricWu91 commented on May 20, 2024

@dylburger , Thanks for the answer.
I noticed that you created two issues - one for CLI, one for API - but not for GIT.
Should we assume that the latter won't be receiving further considerations given that Github Sync is already out?

Furthermore, can we (and if so, where should we) follow up on this?

are considering further expansion of GitHub support to lower tiers (e.g. for personal vs. organizational use)

from pipedream.

mroy-seedbox avatar mroy-seedbox commented on May 20, 2024

The CLI & API features will effectively allow users to roll up their own GitHub integration anyway (or use any other version control provider), by creating a very simple CI/CD pipeline/workflow.

Which kinda defeats the purpose of paywalling this feature. πŸ€·β€β™‚οΈ

from pipedream.

dylburger avatar dylburger commented on May 20, 2024

Got it, so the CLI / API work will allow you to develop locally and serialize any workflow code to Git automatically (or any other VCS). In that model you’d push the code to Pipedream via your CI tool. Does that help or are you talking about something else?

from pipedream.

mroy-seedbox avatar mroy-seedbox commented on May 20, 2024

A well built VS Code extension for Pipedream might one day become a superior development environment than the Pipedream builder itself (due to its configurability & the wide availability of extensions, which is not feasible to add to the builder).

And that would allow users to use whatever form of version control they prefer (as @EricWu91 mentioned).

from pipedream.

AICrafterZheng avatar AICrafterZheng commented on May 20, 2024

+1

from pipedream.

jcable avatar jcable commented on May 20, 2024

FYI I moved all my workflows out of Pipedream and re-implemented them with AWS lambda. Partly to bring the source under source code control and partly as part of a wider project that moved our graphql APIs out of Hasura on Heroku.
Julian (ogauk)

So I'm not really an interested party any longer.

from pipedream.

dylburger avatar dylburger commented on May 20, 2024

Since this issue is closed, I'm going to go ahead and lock this conversation so we make sure feedback about missing features is added to the relevant tickets:

from pipedream.

ctrlaltdylan avatar ctrlaltdylan commented on May 20, 2024

We have released the ability to programmatically create and update workflows by REST API.

Read this end to end guide on how to create workflows programmatically using the REST API: https://pipedream.com/docs/rest-api/workflows

API Documentation: https://pipedream.com/docs/rest-api#workflows

from pipedream.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.