Showing results for 
Search instead for 
Did you mean: 
New Member

Custom Connector Unsubscribe Trigger

Hello there,


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.

Community Support
Community Support

Re: Custom Connector Unsubscribe Trigger


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.


Best Regards,

Community Support Team _ Barry
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
New Member

Re: Custom Connector Unsubscribe Trigger

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:
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:

  • Deleting or disabling the trigger.
  • Deleting or disabling the workflow.
  • Deleting or disabling the subscription"

New Member

Re: Custom Connector Unsubscribe Trigger

I have the same issue. Please provide a solution.

Helpful resources


Super User Program Update

Three Super User rank tiers have been launched!


Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021


New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!


Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

Top Solution Authors
Users online (6,719)