[Flow builder] Default to the previously used connection when adding steps for the same piece
Is your feature request related to a problem? Please describe. When a flow already has a trigger or step using a specific connection for a given piece (e.g. Gmail, Slack, HubSpot), every new action added later for the same piece resets the connection field to empty. The user must manually re-pick the same connection every single time. In a flow with 15 actions on the same piece, this is tedious and error-prone — it's easy to accidentally select a different connection than the rest of the flow.
Describe the solution you'd like When adding a new action (or trigger) for a piece that is already used elsewhere in the current flow, pre-fill the connection field with the connection currently used by the other steps of that piece in this flow.
- If only one connection of that piece is used in the flow → auto-select it.
- If multiple different connections of the same piece are already used in the flow → fall back to the most recently used one (or leave empty, whichever is simpler).
- The user can of course still change the connection manually — this is only the default value.
Describe alternatives you've considered
- Manually re-selecting the same connection on every step (current behavior — fastidious).
- Copy-pasting an existing step and editing it, but this only works once the first step exists and isn't discoverable.
Additional context The expectation, in the vast majority of flows, is that all steps of a given piece share the same connection. Defaulting to that connection would save a lot of clicks and reduce mistakes, while staying fully overridable.
Source: activepieces/activepieces