# Is it possible to sent a notification without using Webdev module?

**URL:** <https://forum.inductiveautomation.com/t/is-it-possible-to-sent-a-notification-without-using-webdev-module/86084>\
**Category:** Ignition\
**Tags:** ignition81\
**Created:** [February 21, 2024, 7:35am UTC](https://forum.inductiveautomation.com/t/is-it-possible-to-sent-a-notification-without-using-webdev-module/86084 "2024-02-21T07:35:44Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![Govind\_Suthar1](https://avatars.discourse-cdn.com/v4/letter/g/a87d85/32.png) [@Govind\_Suthar1](https://forum.inductiveautomation.com/u/Govind_Suthar1)\
**Post date:** [February 21, 2024, 7:35am UTC](https://forum.inductiveautomation.com/t/is-it-possible-to-sent-a-notification-without-using-webdev-module/86084/1 "2024-02-21T07:35:44Z")

</div>

Hello,

I want to send machine status notifications for specific times to another chat application without using web dev module.

So, how to possibale to sent the notification without using web dev module?

---

<div class="post-metadata">

**Author:** ![pascal.fragnoud](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pascal.fragnoud/32/24728_2.png) [@pascal.fragnoud](https://forum.inductiveautomation.com/u/pascal.fragnoud)\
**Post date:** [February 21, 2024, 8:14am UTC](https://forum.inductiveautomation.com/t/is-it-possible-to-sent-a-notification-without-using-webdev-module/86084/2 "2024-02-21T08:14:40Z")

</div>

It's not what the webdev module is for anyway.

Do you have an API you can call ? If so, use [`system.net.httpClient`](https://www.docs.inductiveautomation.com/docs/8.1/appendix/scripting-functions/system-net/system-net-httpClient)

---

<div class="post-metadata">

**Author:** ![Govind\_Suthar1](https://avatars.discourse-cdn.com/v4/letter/g/a87d85/32.png) [@Govind\_Suthar1](https://forum.inductiveautomation.com/u/Govind_Suthar1)\
**Post date:** [February 21, 2024, 9:15am UTC](https://forum.inductiveautomation.com/t/is-it-possible-to-sent-a-notification-without-using-webdev-module/86084/3 "2024-02-21T09:15:52Z")

</div>

> [@pascal.fragnoud](#):
>
> [`system.net.httpClient`](https://www.docs.inductiveautomation.com/docs/8.1/appendix/scripting-functions/system-net/system-net-httpClient)

How to configure in ignition?

---

<div class="post-metadata">

**Author:** ![pascal.fragnoud](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pascal.fragnoud/32/24728_2.png) [@pascal.fragnoud](https://forum.inductiveautomation.com/u/pascal.fragnoud)\
**Post date:** [February 21, 2024, 9:23am UTC](https://forum.inductiveautomation.com/t/is-it-possible-to-sent-a-notification-without-using-webdev-module/86084/4 "2024-02-21T09:23:07Z")

</div>

Read the doc, try to do it, and if you can't figure it out come back with a specific question. I can't do your project for you.

---

<div class="post-metadata">

**Author:** ![Govind\_Suthar1](https://avatars.discourse-cdn.com/v4/letter/g/a87d85/32.png) [@Govind\_Suthar1](https://forum.inductiveautomation.com/u/Govind_Suthar1)\
**Post date:** [February 21, 2024, 9:31am UTC](https://forum.inductiveautomation.com/t/is-it-possible-to-sent-a-notification-without-using-webdev-module/86084/5 "2024-02-21T09:31:32Z")

</div>

> [@pascal.fragnoud](#):
>
> I can't do your project for you.

I understood it. But, It's new for me. that's why I ask you.

Is any other module required for the notification except web dev module for performing this type task?

---

<div class="post-metadata">

**Author:** ![pascal.fragnoud](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pascal.fragnoud/32/24728_2.png) [@pascal.fragnoud](https://forum.inductiveautomation.com/u/pascal.fragnoud)\
**Post date:** [February 21, 2024, 9:58am UTC](https://forum.inductiveautomation.com/t/is-it-possible-to-sent-a-notification-without-using-webdev-module/86084/6 "2024-02-21T09:58:01Z")

</div>

If you have an API you can call to send that notification, all you need is the http client. No module required.

If you want to notify alarms, you may want the "alarm notification pipeline" module. I'm not sure if it's included by default, I don't deal with licensing.  
If you want to notify events, then where you put your code will depend on the trigger.

---

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [February 21, 2024, 12:41pm UTC](https://forum.inductiveautomation.com/t/is-it-possible-to-sent-a-notification-without-using-webdev-module/86084/7 "2024-02-21T12:41:49Z")

</div>

If you want to avoid scripting, you might find this free module helpful:

> **[GitHub - Kyvis-Labs/ignition-api-client-module: An Ignition module that...](https://github.com/Kyvis-Labs/ignition-api-client-module)**
>
> An Ignition module that provides an easy way to interface with REST APIs without having to write scripts in Ignition. - Kyvis-Labs/ignition-api-client-module

---

<div class="post-metadata">

**Author:** ![Govind\_Suthar1](https://avatars.discourse-cdn.com/v4/letter/g/a87d85/32.png) [@Govind\_Suthar1](https://forum.inductiveautomation.com/u/Govind_Suthar1)\
**Post date:** [February 22, 2024, 12:14pm UTC](https://forum.inductiveautomation.com/t/is-it-possible-to-sent-a-notification-without-using-webdev-module/86084/8 "2024-02-22T12:14:26Z")

</div>

I implement that GitHub YAML file in the ignition gateway. But it's failed. Not executed.

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/8/1/817e6c94b0fa3e8758f10318e2646dfe0c97fb92.png)

YAML file configuration. I copy that YAML file code from GitHub and add it in the ignition.

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/c/4/c4ada182b87e8268fc4e637d2fdf73f0c156851c.png)

---

<div class="post-metadata">

**Author:** ![Usha\_Vilash](https://avatars.discourse-cdn.com/v4/letter/u/b5a626/32.png) [@Usha\_Vilash](https://forum.inductiveautomation.com/u/Usha_Vilash)\
**Post date:** [February 22, 2024, 12:38pm UTC](https://forum.inductiveautomation.com/t/is-it-possible-to-sent-a-notification-without-using-webdev-module/86084/9 "2024-02-22T12:38:08Z")

</div>

Yes, you can by using platform specific API or third-party libraries.

---

<div class="post-metadata">

**Author:** ![Govind\_Suthar1](https://avatars.discourse-cdn.com/v4/letter/g/a87d85/32.png) [@Govind\_Suthar1](https://forum.inductiveautomation.com/u/Govind_Suthar1)\
**Post date:** [February 24, 2024, 9:43am UTC](https://forum.inductiveautomation.com/t/is-it-possible-to-sent-a-notification-without-using-webdev-module/86084/10 "2024-02-24T09:43:10Z")

</div>

I implement the http.post fucntion in the gateway event script using tag change function. when change the tag value at that time value goes to specific URL which assigned in the script. But, when check the value in the URL and it's found **{}** this format. No value displayed.

Script

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/f/3/f3e65cb90efc7f19b06b119b5f821ed824f70593.png)

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/d/b/dbf87562c2cac43ba10cf7322a44ece4d6067b27.png)

---

<div class="post-metadata">

**Author:** ![pascal.fragnoud](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pascal.fragnoud/32/24728_2.png) [@pascal.fragnoud](https://forum.inductiveautomation.com/u/pascal.fragnoud)\
**Post date:** [February 24, 2024, 9:44am UTC](https://forum.inductiveautomation.com/t/is-it-possible-to-sent-a-notification-without-using-webdev-module/86084/11 "2024-02-24T09:44:37Z")

</div>

Your event is disabled.

---

<div class="post-metadata">

**Author:** ![Govind\_Suthar1](https://avatars.discourse-cdn.com/v4/letter/g/a87d85/32.png) [@Govind\_Suthar1](https://forum.inductiveautomation.com/u/Govind_Suthar1)\
**Post date:** [February 24, 2024, 9:51am UTC](https://forum.inductiveautomation.com/t/is-it-possible-to-sent-a-notification-without-using-webdev-module/86084/12 "2024-02-24T09:51:28Z")

</div>

I've temporarily disabled the event because many times I've changed the value it's triggered on and it goes to the URL.

---

<div class="post-metadata">

**Author:** ![pascal.fragnoud](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pascal.fragnoud/32/24728_2.png) [@pascal.fragnoud](https://forum.inductiveautomation.com/u/pascal.fragnoud)\
**Post date:** [February 24, 2024, 3:40pm UTC](https://forum.inductiveautomation.com/t/is-it-possible-to-sent-a-notification-without-using-webdev-module/86084/13 "2024-02-24T15:40:22Z")

</div>

remove the `'` around the payload. It shouldn't be a string.

---

<div class="post-metadata">

**Author:** ![Govind\_Suthar1](https://avatars.discourse-cdn.com/v4/letter/g/a87d85/32.png) [@Govind\_Suthar1](https://forum.inductiveautomation.com/u/Govind_Suthar1)\
**Post date:** [February 25, 2024, 5:01pm UTC](https://forum.inductiveautomation.com/t/is-it-possible-to-sent-a-notification-without-using-webdev-module/86084/14 "2024-02-25T17:01:46Z")

</div>

Now It's working.

Value pass in the URL.

---

<div class="post-metadata">

**Author:** ![Transistor](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/transistor/32/3380_2.png) [@Transistor](https://forum.inductiveautomation.com/u/Transistor)\
**Post date:** [February 25, 2024, 5:20pm UTC](https://forum.inductiveautomation.com/t/is-it-possible-to-sent-a-notification-without-using-webdev-module/86084/15 "2024-02-25T17:20:08Z")

</div>

Good! Don't forget to mark Pascal's answer as "Solution".

---

<div class="post-metadata">

**Author:** ![Govind\_Suthar1](https://avatars.discourse-cdn.com/v4/letter/g/a87d85/32.png) [@Govind\_Suthar1](https://forum.inductiveautomation.com/u/Govind_Suthar1)\
**Post date:** [February 25, 2024, 5:28pm UTC](https://forum.inductiveautomation.com/t/is-it-possible-to-sent-a-notification-without-using-webdev-module/86084/16 "2024-02-25T17:28:15Z")

</div>

Currently value pass from the tag provider to the URL.

Script  
 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/6/f/6f6a6985548529fe1a0108a075c5ce3fe06d8430.png)

Value receive this format in the URL : {"test\_provider":"234.0"}

But, I want to only **value** should be goes to in the URL instead of the provider name.  
So, Is it possibale?

---

<div class="post-metadata">

**Author:** ![Transistor](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/transistor/32/3380_2.png) [@Transistor](https://forum.inductiveautomation.com/u/Transistor)\
**Post date:** [February 25, 2024, 10:07pm UTC](https://forum.inductiveautomation.com/t/is-it-possible-to-sent-a-notification-without-using-webdev-module/86084/17 "2024-02-25T22:07:00Z")

</div>

Please post code - not pictures of code and make sure you format it properly. See [Wiki - how to post code on this forum](https://forum.inductiveautomation.com/t/wiki-how-to-post-code-on-this-forum/77831). We can't see the whole of the `url =` line.

---

<div class="post-metadata">

**Author:** ![pascal.fragnoud](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pascal.fragnoud/32/24728_2.png) [@pascal.fragnoud](https://forum.inductiveautomation.com/u/pascal.fragnoud)\
**Post date:** [February 26, 2024, 8:56am UTC](https://forum.inductiveautomation.com/t/is-it-possible-to-sent-a-notification-without-using-webdev-module/86084/18 "2024-02-26T08:56:53Z")

</div>

You're mixing everything together and not being very descriptive, so it's seriously difficult to understand what's up.

For your own sake, cut things up into little pieces, describe them, figure out what they should be, what they actually are, what they should do, what they actually do... etc.  
Then we'll piece everything back together, once every part is functional.

---

<div class="post-metadata">

**Author:** ![Govind\_Suthar1](https://avatars.discourse-cdn.com/v4/letter/g/a87d85/32.png) [@Govind\_Suthar1](https://forum.inductiveautomation.com/u/Govind_Suthar1)\
**Post date:** [February 26, 2024, 9:44am UTC](https://forum.inductiveautomation.com/t/is-it-possible-to-sent-a-notification-without-using-webdev-module/86084/19 "2024-02-26T09:44:33Z")

</div>

I want to send the machine status as a notification to the URL with a specific time and format.

For example:  
Here, we define a two-time series.

1. Working Hours: 10:00 AM to 7:00 PM

2. Non-Working Hours: 7:00 PM to 10:00 AM

**Value format** : with timestamp [1 = Machine no.1]

---

<div class="post-metadata">

**Author:** ![Govind\_Suthar1](https://avatars.discourse-cdn.com/v4/letter/g/a87d85/32.png) [@Govind\_Suthar1](https://forum.inductiveautomation.com/u/Govind_Suthar1)\
**Post date:** [February 26, 2024, 9:57am UTC](https://forum.inductiveautomation.com/t/is-it-possible-to-sent-a-notification-without-using-webdev-module/86084/20 "2024-02-26T09:57:38Z")

</div>

The requires only the value instead of the entire tag path name. Currently, notifications are found in URLs as per this format.

**{"test\_provider":"234.0"}**  
**test\_provider: path name**  
**234.0: value**

Only value should be sent in URL.(value format : 234.0)

[Next page](https://forum.inductiveautomation.com/t/is-it-possible-to-sent-a-notification-without-using-webdev-module/86084.md?page=2)
