I have created a screen flow in which I am trying to create an Opportunity automatically mapped to the Account and I have placed it in the account detail page.
I have added the resource named recordId too and mapped it to AccountId of Opportunity in the create record component, as the associated account ID will automatically get passed to the recordId variable from Account detail page.
But when I enter the Opportunity details and click on create, the Opportunity is getting created, but it is not getting mapped to respective Account. Can anyone please let me know why the record isn't getting mapped.
Below is the image of my mapping in create record element.