HTTP Request - Dynamically inject the command into the SOAP envelope

Hi everyone :waving_hand:

I’m working on a workflow that sends SOAP commands to an AzerothCore server and formats the response for Discord. The current setup uses a manualTrigger, but I’d like to trigger it via a Webhook so external systems can send commands dynamically.

:white_check_mark: What I’ve built so far:

  • HTTP Request node with raw XML payload to send .server info to AzerothCore

  • XML node to parse the SOAP response

  • Set + Code nodes to extract and format the output

  • Discord node to send a clean message with server status

:counterclockwise_arrows_button: What I want to achieve:

  • Replace manualTrigger with a Webhook node

  • Accept POST requests with a JSON body like { "command": ".server info" }

  • Dynamically inject the command into the SOAP envelope

If anyone has done something similar or has ideas for improving this flow, I’d love to hear your thoughts!

Hey !

Definitely you can do that in the Webhook trigger.

Raw Body: Specify that the Webhook node will receive data in a raw format, such as JSON or XML.

  • Response Content-Type: Choose the format for the webhook body.

Here you can find relevant info :

2 Likes

Managed to get it working, thank You for pointing me in to the right direction :slight_smile:

1 Like

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