Can Loops be Created in Pipedream Workflow and How Does the Pricing Scale for Extra Credits?

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

Hello! I have a few questions:

  1. Is there any way to create loops in a Pipedream workflow? For example, say I have a list of record IDs (integers). I’d like to run a step in the workflow for each of these IDs (for example, to fetch or delete them from some integrated API). Is this possible? I’m doing this currently by just triggering a workflow for each ID, but that seems like it would cost a lot of credits.
  2. I’m a bit confused about the pricing. We’re currently using the Advanced plan. If we go over 2,000 credits in our billing period, does the cost of the extra credits scale depending on how many extra credits we use? So, if we use 10,000 extra credits, the cost per credit would be lower than if we had only used 5,000 extra credits? I’m not sure if I’m understanding this correctly - any clarification is appreciated.
  3. Is the rest of that pricing comparison page accurate, or has anything changed?
    Thank you in advance for any help!

Hi !

  1. The way you’re doing is the only possible way currently (using workflow steps). The other way is to loop via a code step
  2. You can use the slider at Pricing - Pipedream to calculate how much would each additional credit cost if you go over the included credits. There are increasing automatic discounts for higher levels of usage
  3. Yes, were you looking into a specific feature?

Thanks for the super quick and clear response!

Regarding question 3: I’m not searching for a specific feature per se, but have noticed that on the Advanced plan (which we’re currently using), I’m able to use Connect Link and create custom OAuth clients; but the pricing page says these are Connect plan features. I’m not sure if I’m misunderstanding the features on this page, though, I’m still very new to Pipedream.

Yeah it’s a bit confusing, but Connect Link is available in the free plan. Custom OAuth clients is in the Advanced plan. But to invoke workflows run actions and triggers — these are in the Connect plan

When you say “invoke workflows run actions and triggers”, do you mean running a workflow using end user credentials (which they provided using Connect Link via our custom OAuth client)?

Yep exactly!

I’ve been able to invoke workflows using end user credentials on the Advanced plan. Is this a bug?

In development or production?

Development, I haven’t tried production yet

I’m assuming I can use it just because I’ve been in development mode?

Yeah you can do it in the development mode, you’ll get an error if you try using in production

Good to know - I’ll make a note of that. Thank you very much for your help!