Connector action with multiple optional outputs

When we add an Okta action card to a workflow, it allows us to select what outputs we need from the card. Super handy! Is it possible for us to build that same thing for our custom connectors?

Hey @Dee_Queue – yeah, that should be possible!

https://help.okta.com/wf/en-us/content/topics/workflows/connector-builder/outputs-selected.htm

I have an action here in Connector Builder, and when I use “Choose Fields” when building a flow, I can choose which outputs to use. Hopefully the document I shared is helpful.

Hi @Dee_Queue,

You might also find the following resources helpful:

Oh… Ok, I just noticed something. So if I go to the action card, go to the gear, and then “Choose fields” I can select my different outputs there.

With other cards, like the Okta User cards, you start in that screen of selecting the inputs/outputs.

So am I not seeing that screen because I have all the Inputs set to required? How can I determine which outputs are checked by default?

Do you want to be on this view when you add an action card from a connector?

That would be ideal, yes.

I believe you need to place such outputs into a dynamic group. I will try to create an example.

You need at least one output group using dynamic fields to display the Choose Fields tab immediately.

Here is a quick example using JSON from this page.

Helper flow to create the dynamic output fields:

Configuring action outputs with the helper flow:

Connector action:

Adding the action to a flow:

Let me know if this helps.