This is the flow I created to check in Microsoft List if the aging list is 45 days and if the status is "about to expire." However, it is sending twice in Teams. If I have 2 in this parameter, it sends 4 messages. If I have 3 in this parameter, it sends 6. What can I do to fix this problem?
You don't need nested "Apply to each" action inside "Apply to each 2" action in "Yes" branch. Get rid of nested 'Apply to each' action and readd post adaptive card & update row actions. For setting the input parameters in both actions, you need to pull the data from the output of "Get items" action by searching in the dynamic content window.
If this helps & solves your problem, please remember to give a 👍 and accept my solution as it will help others in the future.