Workflows Tips #23: Run a Flow Once, Pass Data to a Helper Flow for Streaming, and Build First Workflow Online Meetup
Tags: nocode, workflows, okta, ipaas
Published: 2022-08-29 19:01:53

---
title: Workflows Tips #23: Run a Flow Once, Pass Data to a Helper Flow for Streaming, and Build First Workflow Online Meetup
published: true
date: 2022-08-29 05:39:39 UTC
tags: NoCode,Workflows,okta,ipaas
canonical_url: https://maxkatz.net/2022/06/02/workflows-tips-23-run-a-flow-once-pass-data-to-a-helper-flow-for-streaming-and-build-first-workflow-online-meetup/
---

Welcome to another Okta Workflows Tips post. Read all other tips ⤵️
{% embed https://dev.to/oktaworkflows/okta-workflows-tips-57bj %}

In this post:

- Run a flow once
- How to pass data to a helper flow for streaming
- Online Meetup: Build Your First No-Code Workflow Automation in 25 Minutes

## Run a flow once

If you need to run a flow only once, it’s perfectly fine to use the **Test** button inside the flow designer. You can also use the **Test** button to run the flow manually.

[![Running a flow only once](https://katzmax.files.wordpress.com/2022/06/workflows_tips23_run_flow_once.png?w=1024)](https://katzmax.files.wordpress.com/2022/06/workflows_tips23_run_flow_once.png)
<figcaption>Running a flow only once</figcaption>

## How to pass data to a helper flow for streaming

When setting up a helper flow to process streaming data, the helper flow input requires the following two inputs to work properly:

- **Record** (type: Object)
  - Current object (record) being passed to the helper flow for processing. Access any object (JSON) properties from the **Record** by creating keys (example **First Name** )
- **State** (type: Object) 
  - Any additional information to be passed to the helper flow

This main flow streams all users to a helper flow called **Process user**. In addition to the user object, a **Greeting** field of **hello** is passed to the helper flow.

[![Streaming users to a helper flow](https://katzmax.files.wordpress.com/2022/06/workflows_tips23_main_flow.png?w=477)](https://katzmax.files.wordpress.com/2022/06/workflows_tips23_main_flow.png)
<figcaption>Streaming users to a helper flow</figcaption>

and this is how the helper flow looks:

[![Processing each user (Record)](https://katzmax.files.wordpress.com/2022/06/workflows_tips23_helper_flow.png?w=1024)](https://katzmax.files.wordpress.com/2022/06/workflows_tips23_helper_flow.png)
<figcaption>Processing each user (Record)</figcaption>

## Online Meetup: Build Your First No-Code Workflow Automation in 25 Minutes

[Join](https://okta.zoom.us/webinar/register/WN_Gt3kNX7-RDuL32LI7kaMwg) this no-slides online meetup on **Wednesday, Jun 22 at 9 AM PT** to learn how to build your first no-code workflow automation with Okta Workflows in 25 minutes.

You will learn step-by-step how to build your first no-code workflow automation and also: 

- Building a flow with the basic building blocks (events, schedule, actions, functions, and connectors)
- Creating logic with if-then, loops and helper flows
- Testing and running a flow

[Register](https://okta.zoom.us/webinar/register/WN_Gt3kNX7-RDuL32LI7kaMwg) to learn how to build your first flow!

🎥 Recording of this meetup will be available on [YouTube](https://youtube.com/playlist?list=PLSAWywyhniCMgo-IPIR-tleTPgNYiJwZn).

* * *

Two resources to help you learn more:

📘 Try this step-by-step getting started tutorial: [Build Your First Automation With Okta Workflows: Notify When User Is Suspended](https://dev.to/maxkatz/build-your-first-automation-with-okta-workflows-notify-when-user-is-suspended-1l3p-temp-slug-2933517).

📺 Short how-to [Workflows videos](https://youtube.com/playlist?list=PLIid085fSVdvyK8F4xuk49EchBPmAVNHG) to help you become a better automation builder.