26% of Part II — group lifecycle from connection to membership.
4 tasks · this deck covers task 4 of 4
↑ Create Groups OverviewOnce a group exists (Task 2) with a name (Task 3), membership is populated with the Add User to Group action card: "Add a new Okta user to a group."
Both IDs are required with no optional fields — this card expects you to have already resolved the Group ID (from Task 2's Create Group output) and the User ID upstream in the flow.
The card doesn't throw a flow error on a non-2xx result by default — it returns the numeric status. Whether the flow treats a 403 as a hard stop is up to the branching logic built around the card.
Conditional add-logic (e.g., "only add this user if they belong to a certain department") is built with Okta Workflows' branching functions:
Once your Create Groups flow runs end to end — connection, group creation, naming, membership — the discipline for verifying it (running with test data, reading execution history, catching a 403 before it ships) lives in the Troubleshooting Flows section, not repeated here.
Watch for this in your own sandbox run:
→ Assuming a non-204 Status means the flow itself errored — it doesn't unless you add branching logic (Continue If / Return Error If) that acts on that status code.
→ Reaching for If/Else when you actually have three or more membership conditions — that's If/ElseIf territory.
Sources: help.okta.com — Add User to Group action card (type=wf&id=ext-okta-method-addnewusertogroup); Branching functions (functions.htm#branching)