ClickSend

ClickSend is a cloud-based service that lets you send and receive SMS, Email, Voice, Fax, and Letters worldwide.

Integration with LogicHub

Connecting with ClickSend

To connect to ClickSend following details are required:

  • Label: Connection name.
  • Credential Entry Type: Credential settings vary based on credential type.
  • Username: Username for ClickSend.
  • API Key: The API key to connect to the ClickSend.

Actions with ClickSend

Send SMS

Send SMS lets you send SMSs.

Inputs to this Action

  • Connections: Choose a connection that you have created.
  • Sender ID Column Name: Sender ID.
  • Body Column Name: The body of your message.
  • Recipient (Optional): Column name containing Recipient phone number in E.164 format, eg +14155552671. Alternatively, use 'List ID' input field to provide a List ID if sending to a whole list.
  • Source Column Name (Optional): Your method of sending. Leaving it blank will use 'logichub'.
  • Schedule Column Name (Optional): Leave blank for immediate delivery. Your schedule time in unix format.
  • Reference Column Name (Optional): Your reference. Will be passed back with all replies and delivery reports.
  • List ID (Optional): Column name containing list ID if sending to a whole list. Can be used instead of 'Recipient' input field.
  • Country Column Name (Optional): Recipient country.
  • Return Address Column Name (Optional): An email address where the reply should be emailed to. If omitted, the reply will be emailed back to the user who sent the outgoing SMS.

Output of Action
JSON containing the following items:

  • result: Displays the SMS delivery and status.
{
   "response_code": "SUCCESS",
   "data": {
      "total_count": 1,
      "_currency": {
         "currency_prefix_d": "$",
         "currency_name_long": "US Dollars",
         "currency_name_short": "USD",
         "currency_prefix_c": "¢"
      },
      "total_price": 0,
      "messages": [
         {
            "body": "",
            "status": "INVALID_RECIPIENT",
            "from": "",
            "schedule": "",
            "list_id": "",
            "message_id": "4C20DBBD-8FFA-4DF0-AC0E-1C69728DF11A"
         }
      ],
      "queued_count": 0
   },
   "http_code": 200,
   "response_msg": "Messages queued for delivery."
}

Send Email

Send Email sends transactional emails.

Inputs to this Action

  • Connections: Choose a connection that you have created.
  • Recipients Column Name: The recipients of the email, either a single address or a JSON array of addresses.
  • CC Column Name (Optional): The cc of the email. Follows the same structure as the recipients.
  • BCC Column Name (Optional): The bcc of the email. Follows the same structure as the recipients.
  • Sender's Email Address ID Column Name: The sender's email address ID.
  • Sender's Name Column Name: The sender's name.
  • Subject Column Name: The subject of the email.
  • Body Column Name: The content of the email.
  • Attachments Column Name (Optional): The attachments of the email (will be a JSON array of attachments, see clicksend's documentation).
  • Schedule Column Name (Optional): The schedule time for delivery. Leave blank for immediate delivery.

Output of Action
JSON containing the following items:

  • result: All required fields for email must be provided.
{
   "response_code": "BAD_REQUEST",
   "data": {
      "from.email_address_id": [
         "The from.email address id field is required."
      ],
      "to": [
         "The to field is required."
      ],
      "from.name": [
         "The from.name field is required."
      ],
      "body": [
         "The body field is required."
      ],
      "subject": [
         "The subject field is required."
      ]
   },
   "http_code": 400,
   "response_msg": "Invalid inputs."
}

Did this page help you?