I'm getting this below which states that I should be using a connection reference instead of a connection.

However, as I am adding these flows which have already been built to my solution, when I go to edit the connection on an action I am not being given the choice to edit or add a connection reference.

How do I fix this so that I can add connection references?