Contentstack is a headless content management system that lets you design and simplify the process of publication by separating code from content.

Triggers
-
Entry Published
Triggers when a new entry is published
-
Entry Unpublished
Triggers when an existing entry is unpublished
-
Entry Created
Triggers when a new entry is created
-
Entry Updated
Triggers when an existing entry is updated
-
Entry Deleted
Triggers when an existing entry is deleted

Actions
Common Questions
To use Contentstack in your workflow, you will first need to connect it with Built.io Flow.
To do this, drag any Contentstack action listed under Contentstack service on the canvas. In case of configuring Contentstack triggers, double-click on the Start icon on your canvas and select the Contentstack service. Then click on the Add New option listed under Connect to Contentstack field in the configuration window. You will be redirected to a connection window where you can use the Login or Auth Token option under the Select Credential Type field to create a new connection for your Contentstack account.
If you select the Login option, you would need to enter the following details:
Email Address: Enter the email ID of your Contentstack account.
Password: Enter the password for the specified email ID.
If you select the Auth Token option, you would need to enter the following details:
Auth Token: Enter the auth token for your Contentstack account.
To retrieve the auth token of your account, you need to hit a POST call for a session URL of your account. Follow these steps to do so:
Step 1: Copy the link https://api.contentstack.io/v3/user-session, paste it in the POSTMAN app, and select the method as POST.
Step 2: Under the Body tab, click the raw radio button and select the JSON (application/javascript) option from the drop-down menu.
Step 3: Paste the following code in the POSTMAN editor space:
{
"user" : {
"email" : "Your_contentstack_account_email_ID ",
"password" : "Your_contentstack_account_passowrd "
}
}
Step 4: Enter the email ID and password of your Contentstack account in the code and click the Send button.
Step 5: On clicking the Send button, you’ll get a response for the POST call. Scroll down through the app and search for the auth token in the output.
Step 6: Paste this auth token in the Auth Token field of your Add Connection window.
Once you have entered the token, click on the ADD button. Your entered credential will be automatically verified and on successful verification, a new connection will be added under the Connect to Contentstack field. Once added, this connection will be available in all Contentstack actions and triggers.
1. After logging in to your Built.io Contentstack account, select the Stack to see the list of content types created under it.
2. Hover on the name of the content type of which Field Unique ID you want to retrieve. Click on the vertical ellipsis icon given against the name on the right-hand side.
3. Select the Edit Content Type option from the list of options that appear. This will redirect you to a new window where you can edit the settings for the specified content type.
4. Click on the Name of the field of which unique ID you wish to retrieve. A new window will appear where you can find the unique ID along with other properties for the selected field.
You can optionally edit the Unique ID as per your requirements.