Menu
AWS IoT
Developer Guide

Salesforce Action

A salesforce action sends data from the MQTT message that triggered the rule to a Salesforce IoT Input Stream. When creating a rule with a salesforce action, you must specify the following information:

url

The URL exposed by the Salesforce IoT Input Stream. The URL is available from the Salesforce IoT Platform when you create an Input Stream. Refer to the Salesforce IoT documentation to learn more.

token

The token used to authenticate access to the specified Salesforce IoT Input Stream. The token is available from the Salesforce IoT Platform when you create an Input Stream. Refer to the Salesforce IoT documentation to learn more.

Note

These parameters do not support substitution.

The following JSON example shows how to create an AWS IoT rule with a salesforce action:

{ "sql": "expression", "ruleDisabled": false, "awsIotSqlVersion": "2016-03-23", "actions": [{ "salesforce": { "token": "ABCDEFGHI123456789abcdefghi123456789", "url": "https://ingestion-cluster-id.my-env.sfdcnow.com/streams/stream-id/connection-id/my-event" } }] }

For more information, refer to the Salesforce IoT documentation.