Data Source : Twilio

For Twilio, ixHello supports

  1. SendTextSMS

  2. SendSMSWithMedia

Send Text SMS

Parameter

Sample Value

Info

ToNumber

{{ToNumber}}

A phone number which is going to receive the message.

Body

{{Message}}

Actual Message Content.

Note: {{}} represents that the value for these parameters are going to be read from the user as input.

Fill the following details:

Parameter

Info

Method Name

SendTextSMS

Request Type

SendTextSMS

This is the method that you are using

Parameters

As explained in table above

Result Type

Record

It indicates that the method can return a single record.

Record JsonPath

Each method returns data in json format and to pick any specific information from the json, we need to specify the Record JsonPath so ixHello will pick that data in consideration while displaying results.

Example: $.[*]

This selects all the records that is returned.

Empty Result Template

I'm sorry, there was problem delivering your message to {{Input.ToNumber}}. Please try again, How else can I help you?

Note:

Anything written in between {{ }} is represented as a json field and it’s case-sensitive. Input.* refers that you are taking that value from the inputs provided above.

Result Template

Your message has been delivered to {{Input.ToNumber}}. How else can I help you?

You can now test the method. On the actions menu, click on Test, provide the parameter value and

Click on Method Test . You can observe the return from method in Object tab and the result displayed to user in Result Tab.

Send SMS With Media

  1. Parameter

Sample Value

Info

ToNumber

{{ToNumber}}

e.g. 6787014967

A phone number which is going to receive the message.

Body

{{Message}}

e.g. Hello there

Actual Message Content

MediaURL

{{MediaUrl}}

e.g['https://voiceworx.ai/assets/images/vw-logo-100.png']

Public URL for the media content.

Fill the following details:

Parameter

Info

Method Name

SendSMSWithMedia

Request Type

SendSMSWithMedia

This is the method that you are using

Parameters

As explained in table above

Result Type

Record

It indicates that the method can return a single record.

Record JsonPath

Each method returns data in json format and to pick any specific information from the json, we need to specify the Record JsonPath so ixHello will pick that data in consideration while displaying results.

Example: $.[*]

This selects all the records that is returned.

Empty Result Template

I'm sorry, there was problem delivering your message to {{Input.ToNumber}}. Please try again, How else can I help you?

Note:

Anything written in between {{ }} is represented as a json field and it’s case-sensitive.

Result Template

Your message has been delivered to {{Input.ToNumber}}. How else can I help you?

You can repeat the same method to test the method. Following screen shows a sample response.

Last updated

Was this helpful?