Today I had an issue I have not seen before.
A cloud Flow that generates email using a couple of compose steps from data in a SharePoint list to create the TO: and CC: lines.
The compose steps had been through a number of tests. I had not used them live int he flow until this morning when I set the final email recipients to the To and CC compose steps.
The flow uses a lot of these and I had verified the concatenate expressions making sure everything was a string and separated by a semi colon. I did this on 3 individual steps this morning. 2 out of three have no issues.
The error I got back was
Unable to process template language expressions in action 'Send_an_email_from_a_shared_mailbox_(V2)_22' inputs at line '1' and column '98775': 'The template language expression 'outputs('Compose_-_To_3a.1')?['$']' cannot be evaluated because property '$' cannot be selected. Property selection is not supported on values of type 'String'. Please see https://aka.ms/logicexpressions for usage details.'.
When I looked at the flow the outputs of the compose items had all changed to $.

Removing and readding didn't work. Tried several times. Tried adding a new send email action. That didn't work
I had to create new compose steps before it would work again.
The Output kept being replaced with $.
That $ was equal to
@{outputs('Compose_-_CC_3a.1')?['$']}
when it should have been
@{outputs('Compose_-_To_3a.1')}
I am wondering it my Compose name had anything to do with it as it contain a .1 in the name.
Anyone seen this before?