Details

This atomic belongs to the Cisco Webex atomic group.

Sends a message to a Webex user using their email address. You can provide a plain text message, a message with markdown, or both. If you provide both, the message with markdown is displayed for clients that support it and the plain text message is displayed for clients that don't.

Target: Webex integration target or an HTTP Endpoint for "webexapis.com" with no path

Account Key: None if using an integration-provided target, access token if using an HTTP endpoint target

Steps:
[] Validate that a user ID or email address was provided
[] Build the JSON payload
[] Validate that either a message or markdown message was provided
[] Generate the JSON to POST to Webex
[] Build the authorization header
[] Send the request to the Webex API
[] Check if the request was successful and set ouput variables

More information about this API: https://developer.webex.com/docs/api/v1/messages/create-a-message

About
Integration
Authorship
Cisco Managed