Replicating a step in another workflow (for repeatable token requests in diff workflows)

I’m working on building some “repeatable” steps in workflows that will ultimately rely on different sources/triggers. The problem is all of the final steps require me to fire off a http: post to get a bearer token. Since setting that bearer token is a little cumbersome - I was wondering if there’s a way to save a “step” so that I can call that in another workflow and don’t have to set this up a bunch of times. Otherwise I’m trying to think of other ways to potentially fire another process that would GET my token for me. Any thoughts recommendations for others doing something similar?

Mike -

Junglescout

Hi @mike.melanson!

You can develop and publish private components to your account, take a look at these docs

Thanks! Currently I have a bearer token request (http post) step that I’ll need in several of my workflows. I did find a hack around however- you can copy the step in the original workflow- then goto the new workflow (you are updating) add a js hello world step- then click the 3 dots, and it’ll say paste step below- it will paste your copied code below- then you can just delete the js hello world. It’s a bit scrappy- but it’ll work for now!! :slight_smile: