CData Python Connector for Salesforce Marketing Cloud

Build 25.0.9454

CreateKeyword

Creates a keyword for a specified account in Salesforce Marketing Cloud. Keywords are used to manage Short Message Service (SMS) interactions by associating inbound text responses with specific campaigns or workflows. This procedure facilitates automated opt-in or content-triggered messaging.

Input

Name Type Required Description
LongCode String False Specifies the long code on which the keyword is created. A long code is a standard ten-digit phone number that supports two-way Short Message Service (SMS) communication. Defining a long code allows the system to register and route keyword-based messages for localized or low-volume messaging programs.
ShortCode String False Specifies the short code on which the keyword is created. A short code is a five- or six-digit number that supports high-volume SMS traffic. Associating a keyword with a short code enables subscribers to opt in, opt out, or interact with campaigns using simple text commands.
Keyword String False Specifies the keyword that is created on the designated long or short code. The keyword serves as the trigger word that subscribers text to initiate subscription actions, request information, or participate in campaigns. Each keyword must be unique within its code and country context.
CountryCode String False Specifies the two-letter country code that identifies the country associated with the short code. This value ensures that the keyword registration complies with local messaging regulations and carrier routing requirements.

Result Set Columns

Name Type Description
KeywordId String Returns the unique identifier (Id) of the keyword that is created. This system-generated value can be used in subsequent API operations to manage, track, or delete the keyword configuration.

Copyright (c) 2025 CData Software, Inc. - All rights reserved.
Build 25.0.9454