> For the complete documentation index, see [llms.txt](https://knowledgebase.fabricdata.com/fabric-knowledge-base/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://knowledgebase.fabricdata.com/fabric-knowledge-base/api/integrating-with-fabric-studio/amazon-simple-notification-service-sns/coming-soon-include-record-builder-fields-in-sns.md).

# Coming Soon! Include Record Builder Fields in SNS

Custom IDs are already able to be added to the body of an SNS Message. Soon we will be adding the ability to send your other Custom Fields in the SNS Body, to enable more streamlined integrations across your supply chain.

To include [Record Builder](/fabric-knowledge-base/learn-the-application/destinations/preferences/record-builder.md) Fields in [SNS](/fabric-knowledge-base/api/integrating-with-fabric-studio/amazon-simple-notification-service-sns.md) perform the following steps:

## 1. Configure a Custom Field that is included in SNS messages

1. Navigate to Preferences > Record Builder > {sub menu for area you want to add a custom field to}

   \
   a) Example Shown - Preferences > Record Builder > Metadata

<figure><img src="https://1453363788-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FPS7xvtVOuEwjKjl1m1Xs%2Fuploads%2FcsHjHloMXDmRFGJGbcrO%2FScreenshot%202023-12-01%20at%2017.27.56.png?alt=media&amp;token=813f5000-7452-427b-b5a2-b97d0ab2a0c3" alt="" width="248"><figcaption></figcaption></figure>

2. Select the `Edit Custom Fields` button and then `New Small Tile` button

<figure><img src="https://1453363788-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FPS7xvtVOuEwjKjl1m1Xs%2Fuploads%2FrV9esyPXpuSQaD714xk1%2FScreenshot%202023-12-01%20at%2017.29.44.png?alt=media&amp;token=2e397e2a-afc3-42be-b575-47ede5c44f9a" alt=""><figcaption></figcaption></figure>

3. Fill out the details for creating a new `Boolean` type small tile\
   \
   a) Give the tile a `Tile Name` users will understand\
   b) Give the tile a `Backend Label` your technical integration team will understand\
   c) Select which Record Categories the new tile will be available to\
   d) Turn `Send to SNS` option to `true`<br>

   <figure><img src="https://1453363788-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FPS7xvtVOuEwjKjl1m1Xs%2Fuploads%2FDs25vBTMRRHReTOzy3kt%2FScreenshot%202023-12-01%20at%2017.32.29.png?alt=media&amp;token=870a57e9-c058-490a-a8eb-11f5894c29a6" alt="" width="375"><figcaption></figcaption></figure>

   <figure><img src="https://1453363788-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FPS7xvtVOuEwjKjl1m1Xs%2Fuploads%2FpUeUoC6RagA5ylfWIitG%2FScreenshot%202023-12-05%20at%2009.57.13.png?alt=media&amp;token=784b41dc-a8c8-4e89-a950-e69cea7bfb74" alt=""><figcaption></figcaption></figure>
4. Navigate to a record, and select `Edit Record` to edit the record
5. Navigate to the area of the record where the custom field was created (Metadata / Custom Fields in the example above)
6. Turn the toggle switch on

<figure><img src="https://1453363788-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FPS7xvtVOuEwjKjl1m1Xs%2Fuploads%2FB01qH11KCEwGLUdMZXRt%2FScreenshot%202023-12-01%20at%2017.47.22.png?alt=media&amp;token=b241415e-2232-423a-8407-059c9aba7689" alt="" width="328"><figcaption></figcaption></figure>

## 2. Custom Field Results in SNS Message

Now that a custom field has been created and configured to be included in the SNS messages we will see that field included in the message when a record is created or updated for the record categories the field is applied to.

Example:

```jsx
{
  "Type": "Notification",
  "MessageId": "d75de600-5f7b-4db0-9c3b-aa6f00e485e9",
  "TopicArn": "arn:aws:sns:[AWS Region]:[AWS Account ID]:meta-record-state",
  "Subject": "Meta Live: Record SH00000001 id-created",
  "Message": {
    "action": "id-created",
    "metaId": "SH00000001",
    "catalogs": [],
    "category": "Show",
    "first_release_year": 2023,
    "original_title": "My Awesome Movie",
    "createdDate": "2023-11-01T14:56:16Z",
    "lastUpdatedDate": "2023-12-01T14:56:16Z",
    "actors": [],
    "status": "approved",
    "parentShowMetaId": "",
    "season_number": "",
    "episode_number": "",
    "localizationSpreadsheetCreate": "true"
  },
  "Timestamp": "2023-12-02T14:56:16Z",
  "SignatureVersion": "1",
  "Signature": "hKDfpAiPBaiJXdE8/njQZF5rPCBr2RRJ6IuAt6fuPtgDUU5M15n4VMzxmqnAh6KU8muqz+DrwIusgxz3s/bA/GkBfCjpe/I2qyvXSiNrx4WzdSwlhtiGvQS1FUsEUrgpXjrr5gwOhZPgq1/nddA8MG/y1S8lPL2Z7t5V/dNecjDfHFmt8d6v2nYZFx6Xz5VOLTK9Ef7ehgny83NlNaQbaHM8OfUcIb4H8NemFP8mciLDVdurj9BTuVJ0PjA3tNdCXX++lWlll0xNp0KYhbFkQmUeDl9m62WS6m+lt1MgXtIn2Ub4Ep6lOnx4sgwzzToWzJrEkyL82cGD05ayxNiP7g==",
  "SigningCertURL": "<https://sns.us-west-1.amazonaws.com/SimpleNotificationService-01d088a6f77103d0fe307c0069e40ed6.pem>",
  "UnsubscribeURL": "<https://sns.us-west-1.amazonaws.com/?Action=Unsubscribe&SubscriptionArn=arn:aws:sns:us-west-1:783621318331:meta-record-state:fe45757c-d9fe-4765-900c-0ddfdd6beccf>"
}
```

Now you can trigger external integrations and actions based on not only the standard available message fields, but those that support this feature in Record Builder.
