# Azure pipeline running a Gateway Event Message

**URL:** <https://forum.inductiveautomation.com/t/azure-pipeline-running-a-gateway-event-message/111232>\
**Category:** Ignition\
**Tags:** ignition81, scripting\
**Created:** [October 7, 2025, 7:54am UTC](https://forum.inductiveautomation.com/t/azure-pipeline-running-a-gateway-event-message/111232 "2025-10-07T07:54:45Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![tneto](https://avatars.discourse-cdn.com/v4/letter/t/ecae2f/32.png) [@tneto](https://forum.inductiveautomation.com/u/tneto)\
**Post date:** [October 7, 2025, 7:54am UTC](https://forum.inductiveautomation.com/t/azure-pipeline-running-a-gateway-event-message/111232/1 "2025-10-07T07:54:45Z")

</div>

Hello all.

My idea is to run a pipeline in Azure, that it will import a CSV or JSON file into the VM running the ignition gateway. (This part is already working)

Once the file is in there, I then want to run a HTTP POST command from Azure Pipeline in order to trigger a Gateway Event Message in Ignition gateway side.

The problem is that I run everything on pipeline without any errors, however my Gateway Event Message is not being triggered.

This is my Azure Pipeline YML script:

```python
          - powershell: |
              Write-Host "Calling Ignition Message Handler RunCSVImport..."
              $url = "http://<My-IP>:8088/system/gateway/message/global-project/RunCSVImport"
              $username = "$(IGN_USER)"
              $password = "$(IGN_PASS)"
              $pair = "${username}:${password}"
              $base64AuthInfo = [Convert]::ToBase64String([Text.Encoding]::ASCII.GetBytes($pair))
              Invoke-RestMethod -Uri $url -Method POST -Headers @{Authorization=("Basic {0}" -f $base64AuthInfo)} -ContentType "application/json" -Body "{}"
            displayName: "Trigger CreateTagsByCSV"

```

This is my Gateway Event Message (RunCSVImport):

```python
def handleMessage(payload):
    import system
    system.util.getLogger("RunCSVImport").info("Message Handler Triggered!")
    system.util.getLogger("RunCSVImport").info("Payload received: %s" % str(payload))

```

The message right now just contains logging information as I wanted to debug what was going on, however, checking the logs on Ignition side, I can’t see anything related.

Where can I find more information related with this subject?

Best Regards.

---

<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:** [October 7, 2025, 1:37pm UTC](https://forum.inductiveautomation.com/t/azure-pipeline-running-a-gateway-event-message/111232/2 "2025-10-07T13:37:27Z")

</div>

I've never seen a `/system/gateway/message/...` URL in Ignition. Looks like an LLM hallucination. Use the WebDev module.

---

<div class="post-metadata">

**Author:** ![paul-griffith](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/paul-griffith/32/37249_2.png) [@paul-griffith](https://forum.inductiveautomation.com/u/paul-griffith)\
**Post date:** [October 7, 2025, 3:34pm UTC](https://forum.inductiveautomation.com/t/azure-pipeline-running-a-gateway-event-message/111232/3 "2025-10-07T15:34:31Z")

</div>

Ignition message handling only works from an already connected context - e.g. over the persistent gateway network websocket, or between clients/designers that already have an established session to communicate via RPC. There's no such arbitrary POST endpoint, though you are absolutely able to create one with the WebDev module as Phil mentioned.

---

<div class="post-metadata">

**Author:** ![tneto](https://avatars.discourse-cdn.com/v4/letter/t/ecae2f/32.png) [@tneto](https://forum.inductiveautomation.com/u/tneto)\
**Post date:** [October 7, 2025, 3:53pm UTC](https://forum.inductiveautomation.com/t/azure-pipeline-running-a-gateway-event-message/111232/4 "2025-10-07T15:53:08Z")

</div>

Thank you for the messages.

I will check WebDev Module now.

---

<div class="post-metadata">

**Author:** ![tneto](https://avatars.discourse-cdn.com/v4/letter/t/ecae2f/32.png) [@tneto](https://forum.inductiveautomation.com/u/tneto)\
**Post date:** [October 8, 2025, 1:45pm UTC](https://forum.inductiveautomation.com/t/azure-pipeline-running-a-gateway-event-message/111232/5 "2025-10-08T13:45:35Z")

</div>

It worked with WebDev module.

Thank you again.
