Messaging and Communication Jobs

The following topic describes job attributes that work with messaging and communication platforms and services.

Communication Suite Job

Communication Suite enables you to automate business messaging and communication over Microsoft Teams, Slack, Telegram, and WhatsApp.

The following table describes the Communication Suite job type attributes.

Attribute

Description

Connection Profile

Determines the authorization credentials that are used to connect Control-M to Communication Suite.

Rules:

  • Characters: 1−30

  • Case Sensitive: Yes

  • Invalid Characters: Blank spaces.

Application Name

Determines one of the following communications platforms to use:

  • Microsoft Teams: An instant-messaging, media sharing, file storage, application integration, and voice and video call service that runs on a computer or phone and does not require a phone number.

  • Slack: An instant-messaging, media sharing, and voice and video call service that runs on a computer or phone and does not require a phone number.

  • Telegram: An instant-messaging, end-to-end encrypted chat, and voice-over-IP (VoIP) voice and video call service that requires a mobile telephone number.

  • WhatsApp: An instant-messaging and voice-over-IP (VoIP) voice and video call service that requires a mobile telephone number.

Teams Parameters

Defines the parameters, in JSON format, that instruct Teams to perform multiple actions.

This sends the message, "Hello, World."

Copy
{"text": "Hello World"}

Slack Parameters

Defines the parameters, in JSON format, that instruct Slack to perform multiple actions.

This sends the message, "This is a plain text section block."

Copy
{
    "blocks": [
    {
        "type": "section",
        "text"
        {
            "type": "plain_text",
            "text": "This is a plain text section block."
        }
    }
    ]
}

Telegram Parameters

Defines the parameters, in simple text format, that instruct Telegram to perform multiple actions.

Rule: 1–4096 characters.

You can add Control-M variables to the text.

The job finished successfully. The Order ID number is: %%ORDERID.

Silent Message

Determines whether to send your Telegram message without a notification, which is useful for after-hours or non-urgent messages.

Protect Content

Determines whether to prevent your Telegram message from being saved or forwarded.

WhatsApp Parameters

Defines the parameters, in JSON format, that instruct WhatsApp to perform multiple actions.

This creates a text message template, which enables you to send notifications or reminders to subscribers.

Copy
{
    "messaging_product": "whatsapp",
    "to": "{{phone number you want to send to}}",
    "type": "template",
    "template"
    {
        "name": "hello_world",
        "language"
        {
            "code": "en_US"
        }
    }
}