# How to connect Node RED workflow to web application developed in ASP.NET

**URL:** <https://discourse.nodered.org/t/how-to-connect-node-red-workflow-to-web-application-developed-in-asp-net/66585>\
**Category:** General\
**Created:** [18 August 2022 07:21 UTC](https://discourse.nodered.org/t/how-to-connect-node-red-workflow-to-web-application-developed-in-asp-net/66585 "2022-08-18T07:21:54Z")\
**Posts on this page:** 16\
**Page:** 1

<div class="post-metadata">

**Author:** ![MiliH](https://avatars.discourse-cdn.com/v4/letter/m/34f0e0/32.png) [@MiliH](https://discourse.nodered.org/u/MiliH)\
**Post date:** [18 August 2022 07:21 UTC](https://discourse.nodered.org/t/how-to-connect-node-red-workflow-to-web-application-developed-in-asp-net/66585/1 "2022-08-18T07:21:54Z")

</div>

I want to connect Node RED workflow with web application that is developed in [ASP.NET](http://ASP.NET).  
Can anyone help me out how to connect it.

Thank you!

---

<div class="post-metadata">

**Author:** ![dougle03](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/dougle03/32/32979_2.png) [@dougle03](https://discourse.nodered.org/u/dougle03)\
**Post date:** [18 August 2022 07:35 UTC](https://discourse.nodered.org/t/how-to-connect-node-red-workflow-to-web-application-developed-in-asp-net/66585/2 "2022-08-18T07:35:11Z")

</div>

Maybe the restAPI might help?  
Depends on what level of integration you want. Formatted http requests will work for simple triggers from your .net code.

---

<div class="post-metadata">

**Author:** ![MiliH](https://avatars.discourse-cdn.com/v4/letter/m/34f0e0/32.png) [@MiliH](https://discourse.nodered.org/u/MiliH)\
**Post date:** [18 August 2022 08:16 UTC](https://discourse.nodered.org/t/how-to-connect-node-red-workflow-to-web-application-developed-in-asp-net/66585/3 "2022-08-18T08:16:59Z")

</div>

Let me explain you what I want.

There is a dropdown on UI of application developed in [ASP.NET](http://ASP.NET) when I change the value of dropdown from yearly to monthly at that time value of repeat in inject node should change accordingly in Node RED workflow.

---

<div class="post-metadata">

**Author:** ![TotallyInformation](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/totallyinformation/32/31_2.png) [@TotallyInformation](https://discourse.nodered.org/u/TotallyInformation)\
**Post date:** [18 August 2022 09:11 UTC](https://discourse.nodered.org/t/how-to-connect-node-red-workflow-to-web-application-developed-in-asp-net/66585/4 "2022-08-18T09:11:54Z")

</div>

Unless the [asp.net](http://asp.net) web app has an API that will trigger a webhook on change of that property, I'm not sure how you expect it might work?

---

<div class="post-metadata">

**Author:** ![MiliH](https://avatars.discourse-cdn.com/v4/letter/m/34f0e0/32.png) [@MiliH](https://discourse.nodered.org/u/MiliH)\
**Post date:** [22 August 2022 06:00 UTC](https://discourse.nodered.org/t/how-to-connect-node-red-workflow-to-web-application-developed-in-asp-net/66585/5 "2022-08-22T06:00:25Z")

</div>

Can you please explain webhook will work in my Node-RED workflow.

---

<div class="post-metadata">

**Author:** ![TotallyInformation](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/totallyinformation/32/31_2.png) [@TotallyInformation](https://discourse.nodered.org/u/TotallyInformation)\
**Post date:** [22 August 2022 11:52 UTC](https://discourse.nodered.org/t/how-to-connect-node-red-workflow-to-web-application-developed-in-asp-net/66585/6 "2022-08-22T11:52:42Z")

</div>

A webhook is a standard mechanism that allows one system to trigger an event in another system via a simple web URL.

So a back-end process would trigger a request call to a webhook url that would be defined to the system. That URL could exist in Node-RED as a pair of http-in/-out nodes along with a flow that would be the trigger to do something in Node-RED.

It all starts with the source service though and if you don't know if it supports webhooks it probably doesn't so unless you are able to make changes to the [asp.net](http://asp.net) server code, you are probably stuck.

---

<div class="post-metadata">

**Author:** ![MiliH](https://avatars.discourse-cdn.com/v4/letter/m/34f0e0/32.png) [@MiliH](https://discourse.nodered.org/u/MiliH)\
**Post date:** [23 August 2022 12:51 UTC](https://discourse.nodered.org/t/how-to-connect-node-red-workflow-to-web-application-developed-in-asp-net/66585/7 "2022-08-23T12:51:09Z")

</div>

Is it possible to connect Node RED to web application?

---

<div class="post-metadata">

**Author:** ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)\
**Post date:** [23 August 2022 13:03 UTC](https://discourse.nodered.org/t/how-to-connect-node-red-workflow-to-web-application-developed-in-asp-net/66585/8 "2022-08-23T13:03:13Z")

</div>

Yes, you can, for example, use the http request node as has already been suggested.

---

<div class="post-metadata">

**Author:** ![MiliH](https://avatars.discourse-cdn.com/v4/letter/m/34f0e0/32.png) [@MiliH](https://discourse.nodered.org/u/MiliH)\
**Post date:** [23 August 2022 13:14 UTC](https://discourse.nodered.org/t/how-to-connect-node-red-workflow-to-web-application-developed-in-asp-net/66585/9 "2022-08-23T13:14:55Z")

</div>

yes but http request node will be to fetch data from API.  
How it will connect node red and web application

---

<div class="post-metadata">

**Author:** ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)\
**Post date:** [23 August 2022 13:42 UTC](https://discourse.nodered.org/t/how-to-connect-node-red-workflow-to-web-application-developed-in-asp-net/66585/10 "2022-08-23T13:42:38Z")

</div>

You can also create a web api in node-red that your [asp.net](http://asp.net) application could call. Or perhaps it can communicate via MQTT.

---

<div class="post-metadata">

**Author:** ![TotallyInformation](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/totallyinformation/32/31_2.png) [@TotallyInformation](https://discourse.nodered.org/u/TotallyInformation)\
**Post date:** [23 August 2022 19:16 UTC](https://discourse.nodered.org/t/how-to-connect-node-red-workflow-to-web-application-developed-in-asp-net/66585/11 "2022-08-23T19:16:50Z")

</div>

> [@MiliH](#):
>
> How it will connect node red and web application

Hi, I think it would be good to do some background reading on web apps in general and REST API's specifically, I think that will help you to connect the dots. Basically a request node calling a web page IS connecting them. A REST API is really a machine readable web page designed for systems to communicate simply rather than people.

---

<div class="post-metadata">

**Author:** ![MiliH](https://avatars.discourse-cdn.com/v4/letter/m/34f0e0/32.png) [@MiliH](https://discourse.nodered.org/u/MiliH)\
**Post date:** [24 August 2022 11:59 UTC](https://discourse.nodered.org/t/how-to-connect-node-red-workflow-to-web-application-developed-in-asp-net/66585/12 "2022-08-24T11:59:54Z")

</div>

I am connecting web application to Node RED using database connectivity.

---

<div class="post-metadata">

**Author:** ![TotallyInformation](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/totallyinformation/32/31_2.png) [@TotallyInformation](https://discourse.nodered.org/u/TotallyInformation)\
**Post date:** [24 August 2022 16:15 UTC](https://discourse.nodered.org/t/how-to-connect-node-red-workflow-to-web-application-developed-in-asp-net/66585/13 "2022-08-24T16:15:21Z")

</div>

Ah, you should have shared this up front since it totally changes things.

---

<div class="post-metadata">

**Author:** ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)\
**Post date:** [24 August 2022 17:53 UTC](https://discourse.nodered.org/t/how-to-connect-node-red-workflow-to-web-application-developed-in-asp-net/66585/14 "2022-08-24T17:53:51Z")

</div>

> [@MiliH](#):
>
> I am connecting web application to Node RED using database connectivity.

I don't know what question you are asking now? Are you asking how to connect node-red to a database? If so then what sort of database?

---

<div class="post-metadata">

**Author:** ![MiliH](https://avatars.discourse-cdn.com/v4/letter/m/34f0e0/32.png) [@MiliH](https://discourse.nodered.org/u/MiliH)\
**Post date:** [25 August 2022 06:56 UTC](https://discourse.nodered.org/t/how-to-connect-node-red-workflow-to-web-application-developed-in-asp-net/66585/15 "2022-08-25T06:56:57Z")

</div>

I am able to connect web app with Node-RED using REST API.

Thank you!

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [8 September 2022 06:57 UTC](https://discourse.nodered.org/t/how-to-connect-node-red-workflow-to-web-application-developed-in-asp-net/66585/16 "2022-09-08T06:57:09Z")

</div>

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
