Go to All Forums

Custom variables to actions / bulksms

Hi there,

we use ACTIONS to trigger SMS via our Enterprise bulksms Account. This works pretty well, no issue at all. 

Now we want to use the Site24x7 "send custom parameters" and use these parameters in our HTTP GET string as defined in the action.

Right now this works perfectly fine:
Action: https:/bulksms/api?username=myusername&password=mypassword&message=$MONITORNAME+is+$STATUS&msisdn=123456789

Today my action string is insanely long, because it contains a list of "mynumber", what is working fine, but is hard to maintain. therefore I want to use the customer parameter box like mynumber=123456. 

But how do I have to use the custom variables in the action string?

Something like the following does not work:

Action: https:/bulksms/api?username=myusername&password=mypassword&message=$MONITORNAME+is+$STATUS&msisdn=$mynumber

thanks for your help

Like (1) Reply
Replies (2)

Re: Custom variables to actions / bulksms

Hello Markus,

This is a timely feature request.

We have started working on "Global Variables" feature. You can define few variables globally which can be static or dynamic. The varibles can be used in multiple modules like in Monitor Params, Headers, Action parameters, Third Party integrations and so on.

We will keep this post updated once we release this feature.


Like (0) Reply

Re: Custom variables to actions / bulksms

Hi Raghavan

thanks for your reply. But now I am actually a bit confused.

There is mentioned:

  • Send Incident Parameters: Write specific code in the URL itself and pass the variables using Incident Parameters. The request parameters must be provided as Param name=value pair for POST and GET methods.
  • Send Custom Parameters: You can define your own custom parameters and POST the request in JSON format.

The first part works perfectly fine, I can use such parameters like $STATUS and so forth. The second part is what I am struggling with. I define a custom parameter in the input box like:


I just wonder how to re-call this variable in my action string like I can do with $STATUS... 

I mean, thats the purpose of the custom parameters isn't ?

Like (0) Reply

Was this post helpful?