cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Y_R
Helper II
Helper II

Unable to use HTTP connector to trigger a flow from a button in SPFX webpart

Hello All!

 

I have started dabbling with SPFX development in hopes of implementing modern webparts on a modern page on SharePoint Online that fits the project I want to accomplish. The whole idea is to reflect multiple sections of a document in different sections/ webparts, where an employee is required to agree/ disagree with the content of a section before moving onto the following section. I have thus far been able to create multiple sections/ webparts on a single modern page that will hold the different pieces of information. The first section contains a regular button (that would serve as the agree and another button as teh disagree) that I am trying to use to trigger a Flow. 

 

Following this tutorial https://flow.microsoft.com/en-us/blog/call-flow-restapi/ that explains how to accomplish this, I understand that in order to send data across from the SPFx web part to a Flow, I need to use the Request/ HTTP connectors. However, when I attempt to do so in Flow I see that all the Request and HTTP connectors are labeled with "Premium".

 

Now after some research, following this article: https://techcommunity.microsoft.com/t5/Office-Retirement-Blog/UPDATED-Updates-to-Microsoft-Flow-and-... it is stated that:

 

Effective February 1, 2019, the following capabilities will only be available with PowerApps and Flow Plan 1 and Plan 2:

  • Creation and publication of custom connectors in PowerApps and Microsoft Flow
  • HTTP custom actions integrated into Flow outside SharePoint and OneDrive
  • Integration of on-premises data through the on-premises  data gateway

Can someone please help me understand, because as far as I can see I am still technically integrating HTTP actions into Flow INSIDE SharePoint... Or am I understanding this wrongly? 

Has anyone bumped into this same situation? I would like some guidance please!!! Thank you!!!

2 REPLIES 2
v-alzhan-msft
Community Support
Community Support

Hi @Y_R ,

 

I'm afraid that it is not easy to use HTTP connector to trigger a flow from a button in SPFX webpart.

 

Best regards,

Alice       

 

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

Thank you for your response.

 

But can you explain a bit more? I've been through numerous tutorials that explained that it can be done with the ‘When a HTTP request is received’ trigger. And with the connector becoming 'Premium', what are my options? According to the article I posted with the changes in Flow Plans, is it that I have to upgrade? Otherwise, is there a suggested way that you can offer to facilitate what I'm attempting to do?

 

Thank you!

Helpful resources

Announcements
MPA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

MSFTBizAppsLaunchEvent

Experience what’s next for Power Virtual Agents

See the latest Power Automate innovations, updates, and demos from the Microsoft Business Applications Launch Event.

New Super Users

Meet the Power Automate Super Users!

Many congratulations to the Season 1 2021 Flownaut Crew!

Power Platform ISV STudio

Power Platform ISV Studio

ISV Studio is the go-to Power Platform destination for ISV’s to monitor & manage applications post-AppSource publish.

Users online (73,423)