Sharing my experience moving Integromat scenarios to Pipedream

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

Elton Morais : Just here to talk about my first days with PipeDream… and it’s been awesome! I come from a Integromat background, and because of that I made some mistakes at the begining, before know better PipeDream features.

Today I migrate 36 Scenarios (6 for each of my 6 stores) and now I have just 2 (YES, 2) easy to maintain WorkFlows.

There a few thinks that could be better… I had to create a workaround to store different credentials and get them dynamically. Don’t know if it’s posible to get Auth params based on a value on event. But I make my it works.

Well… Just the beginning!

Dylan Sather (Pipedream) : Love it, thanks for sharing !

Can you tell me more about the use case for grabbing auth dynamically based on the event data?

Elton Morais : I have 6 stores. I need to integrate all of them with Active Campaign, get data from the payment provider, Facebook Pixel API and a few other things.

Usually, if it was just one store, I would use the “Auth” and integrate it using data there…

But I would need one webhook for each store, each of them with their own auths. And I didn’t wanted that.

So, I created a Evnvironment variable, with a json string (need to parse it when I call). That json string contains keys for each of my store. Within the key, I store the api data for each service I need.

I passa a channel get variable to the webhook, with the store ID. With that value I get the credentials on the environment and use it.