# Integration Specifications

## Integration Overview

Postscript is an SMS marketing platform that helps you communicate with customers and prospective customers.&#x20;

The Daasity Postscript integration helps get you data on messages sent through the platform, subscribers, and order attribution.

## Integration Availability

This beta integration is available for:

* Enterprise
* Growth

## Entity Relationship Diagram (ERD)

[Click here to view the ERD for the Daasity Postscript integration](https://lucid.app/documents/embedded/21accbf6-ddc2-4d2b-9d2b-6c3c563a535c) illustrating the different tables and keys to join across tables.

## Postscript Schema

* [Attribution](#attribution)
* [Messages (Dimension)](#messages-dimension)
* [Messages (Fact)](#messages-fact)
* [Platform Action Details](#platform-action-details)
* [Platform Actions](#platform-actions)
* [Shops](#shops)
* [Subscribers](#subscribers)

### Attribution

* Table Name: `[postscript.fct_attribution]`

| Export Column         | Database Column       |
| --------------------- | --------------------- |
| ATTRIBUTION\_ID       | ATTRIBUTION\_ID       |
| MESSAGE\_ID           | MESSAGE\_ID           |
| ORDER\_ID             | ORDER\_ID             |
| AMOUNT\_IN\_CENTS     | AMOUNT\_IN\_CENTS     |
| ACTION\_TYPE          | ACTION\_TYPE          |
| COUPON\_USED          | COUPON\_USED          |
| SHOP\_ID              | SHOP\_ID              |
| SUBSCRIBER\_ID        | SUBSCRIBER\_ID        |
| CUSTOMER\_ID          | CUSTOMER\_ID          |
| MINUTES\_FROM\_ACTION | MINUTES\_FROM\_ACTION |
| ORDER\_CREATED\_AT    | ORDER\_CREATED\_AT    |
| \_UPDATED\_AT         | \_UPDATED\_AT         |
| \_\_SYNCED\_AT        | \_\_SYNCED\_AT        |

### Messages (Dimension)

* Table Name: `[postscript.dim_messages]`

<table><thead><tr><th width="176">Export Column</th><th width="176">Database Column</th></tr></thead><tbody><tr><td>MESSAGE_ID</td><td>MESSAGE_ID</td></tr><tr><td>SHOP_ID</td><td>SHOP_ID</td></tr><tr><td>POSTSCRIPT_MESSAGE_ID</td><td>POSTSCRIPT_MESSAGE_ID</td></tr><tr><td>DIRECTION</td><td>DIRECTION</td></tr><tr><td>MESSAGE_SERVICE</td><td>MESSAGE_SERVICE</td></tr><tr><td>FAILED_AT</td><td>FAILED_AT</td></tr><tr><td>FAILED</td><td>FAILED</td></tr><tr><td>TEXT</td><td>TEXT</td></tr><tr><td>MEDIA_URL</td><td>MEDIA_URL</td></tr><tr><td>TYPE</td><td>TYPE</td></tr><tr><td>TYPE_NAME</td><td>TYPE_NAME</td></tr><tr><td>_UPDATED_AT</td><td>_UPDATED_AT</td></tr><tr><td>__SYNCED_AT</td><td>__SYNCED_AT</td></tr></tbody></table>

### Messages (Fact)

* Table Name: `[postscript.fct_messages]`

<table><thead><tr><th width="176">Export Column</th><th width="176">Database Column</th></tr></thead><tbody><tr><td>MESSAGE_ID</td><td>MESSAGE_ID</td></tr><tr><td>SHOP_ID</td><td>SHOP_ID</td></tr><tr><td>DIRECTION</td><td>DIRECTION</td></tr><tr><td>SUBSCRIBER_ID</td><td>SUBSCRIBER_ID</td></tr><tr><td>CREATED_AT</td><td>CREATED_AT</td></tr><tr><td>_UPDATED_AT</td><td>_UPDATED_AT</td></tr><tr><td>__SYNCED_AT</td><td>__SYNCED_AT</td></tr></tbody></table>

### Platform Action Details

* Table Name: `[postscript.dim_platform_action_details]`

<table><thead><tr><th width="176">Export Column</th><th width="176">Database Column</th></tr></thead><tbody><tr><td>PLATFORM_ACTION_DETAIL_ID</td><td>PLATFORM_ACTION_DETAIL_ID</td></tr><tr><td>ACTION_TYPE</td><td>ACTION_TYPE</td></tr><tr><td>SHOP_ID</td><td>SHOP_ID</td></tr><tr><td>ACTION_DATA</td><td>ACTION_DATA</td></tr><tr><td>_UPDATED_AT</td><td>_UPDATED_AT</td></tr><tr><td>__SYNCED_AT</td><td>__SYNCED_AT</td></tr></tbody></table>

### Platform Actions

* Table Name: `[postscript.dim_platform_actions]`

<table><thead><tr><th width="176">Export Column</th><th width="176">Database Column</th></tr></thead><tbody><tr><td>PLATFORM_ACTION_ID</td><td>PLATFORM_ACTION_ID</td></tr><tr><td>PLATFORM_ACTION_DETAIL_ID</td><td>PLATFORM_ACTION_DETAIL_ID</td></tr><tr><td>ACTION_TYPE</td><td>ACTION_TYPE</td></tr><tr><td>SHOP_ID</td><td>SHOP_ID</td></tr><tr><td>SUBSCRIBER_ID</td><td>SUBSCRIBER_ID</td></tr><tr><td>MESSAGE_ID</td><td>MESSAGE_ID</td></tr><tr><td>ACTION_PERFORMED_AT</td><td>ACTION_PERFORMED_AT</td></tr><tr><td>_UPDATED_AT</td><td>_UPDATED_AT</td></tr><tr><td>__SYNCED_AT</td><td>__SYNCED_AT</td></tr></tbody></table>

### Shops

* Table Name: `[postscript.dim_shops]`

<table><thead><tr><th width="176">Export Column</th><th width="176">Database Column</th></tr></thead><tbody><tr><td>SHOP_ID</td><td>SHOP_ID</td></tr><tr><td>ENTITY_NAME</td><td>ENTITY_NAME</td></tr><tr><td>_UPDATED_AT</td><td>_UPDATED_AT</td></tr><tr><td>__SYNCED_AT</td><td>__SYNCED_AT</td></tr></tbody></table>

### Subscribers

* Table Name: `[postscript.dim_subscribers]`

<table><thead><tr><th width="176">Export Column</th><th width="176">Database Column</th></tr></thead><tbody><tr><td>SUBSCRIBER_ID</td><td>SUBSCRIBER_ID</td></tr><tr><td>POSTSCRIPT_SUBSCRIBER_ID</td><td>POSTSCRIPT_SUBSCRIBER_ID</td></tr><tr><td>SHOP_ID</td><td>SHOP_ID</td></tr><tr><td>IS_INTERNATIONAL</td><td>IS_INTERNATIONAL</td></tr><tr><td>DO_NOT_SEND_AT</td><td>DO_NOT_SEND_AT</td></tr><tr><td>TRANSACTIONAL_ONLY</td><td>TRANSACTIONAL_ONLY</td></tr><tr><td>DO_NOT_SEND</td><td>DO_NOT_SEND</td></tr><tr><td>DO_NOT_SEND_REASON</td><td>DO_NOT_SEND_REASON</td></tr><tr><td>PHONE_NUMBER</td><td>PHONE_NUMBER</td></tr><tr><td>CREATED_AT</td><td>CREATED_AT</td></tr><tr><td>_UPDATED_AT</td><td>_UPDATED_AT</td></tr><tr><td>__SYNCED_AT</td><td>__SYNCED_AT</td></tr></tbody></table>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://help.daasity.com/core-concepts/data-integrations/setup-guides/digital-integrations/postscript-beta/integration-specifications.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
