So, I have my own API and I was successful to integrate it with microsoft flow using a custom connector, creatings its triggers and actions. When I create a flow it sends a callback_url to my API and I can post in this url to trigger microsoft flow. So my question is, is it possible to when the flow is deleted or edited it send a message to my API saying to it unsubscribe? Because, nowadays if I delete the flow my API will still try to post to the callback_url because it will not know that it was deleted.
I have read in some documentations talking about unsubscribe when you delete a flow or edit the connector but I was not successful to do it work.
Thanks in advance.
Hi @rlobogame ,
Have you tried deleting the connection corresponding to this custom connector?
Please try removing it and checking if a similar situation still occurs.
Also, please make sure that other environments do not use this connector to configure Flow. If so, please delete it to avoid similar situations.
Hi @v-bacao-msft ,
I don't think you understand my question.
What I want to know is:
When delete the Flow that I created that uses one of my Custom Connectors is there a way the Microsoft Flow tells my API that their callback_url, which I use to trigger flow, is not more available? This questions basically means, there is any manner that Flow tells my API to unsubscribe?
You answer ask me to Delete the Connector but it is not what I want. I want to keep my connector but I may delete my flows and when that happens it would be good that flows tell me that it is unsubscribing from my api.
This doc: https://docs.microsoft.com/en-us/azure/logic-apps/logic-apps-workflow-actions-triggers
tell something about unsubscribe but it didn't help me, like:
"The unsubscribe call automatically happens when an operation makes the trigger or action invalid, for example:
Three Super User rank tiers have been launched!
Features releasing from October 2020 through March 2021
We've updated and improved the layout and uploading format of the Power Automate Cookbook!
Fill out a quick form to claim your user group badge now!