Contentstack Action

The Contentstack action connector lets you perform specific actions within your stack. With this connector you can create entries, set up workflow stages, and localize entries.

Set up Contentstack

The Contentstack action connector lets you perform three actions:

  1. Create an Entry
  2. Entry Workflow Stage
  3. Localize an Entry

Let’s look at each of them in detail.

Create an Entry

This action lets you create an entry automatically in your stack. To know more, visit Create entries.

  1. In the Configure Action section, select the Contentstack connector.
    1.Select_Contentstack_Connector.png
  2. Select the Create Entry action.
    2.Select_Create_Entry_Action.png
  3. In the Configure Action tab, click on + Add New Account to add your Contentstack account.
    3.Click_Add_New_Account.png
  4. In the pop-up window, provide OAuth permissions for all the values by checking the boxes and click on Authorize.
    Authorize_Popup.png
  5. In the pop-up that appears, select your organization to complete authorization.
    5.Select_Organization.png
  6. Provide an Account Name and click on Save.
    6.Set_Account_Name.png
  7. Select a Stack from the LOOKUP list.
    7._Select_Stack.png
  8. Select a Content Type from the LOOKUP list.
    8.Select_Content_Type.png
  9. Provide your entry data in the Entry Data field.

    Note: Provide your entry data as per your content type schema in JSON format only.

    9.Enter_Entry_Data.png
  10. Once done, click on Proceed.
  11. Click on Test Action to test the configured action.
    10.Click_Test_Action.png
  12. The output will be shown as follows. Click on the Save and Exit button to finish setting up the Create Entry action for the Contentstack connector.
    11.Click_Save&Exit.png

Entry Workflow Stage

This action lets you set the workflow stage for your entry. Read more about workflow stages.

  1. Select the Set Entry Workflow Stage action.
    12.Select_Set_Entry_Workflow.png
  2. In the Configure Action tab, click on + Add New Account to add your Contentstack account.
    13.Click_Add_New_Account.png
  3. In the pop-up window, provide OAuth permissions for all the values by checking the boxes and click on Authorize.
    Authorize_Popup.png
  4. In the pop-up that appears, select your organization to complete authorization.
    15.Select_Organization_2.png
  5. Provide an Account Name and click on Save.
    16.Set_Account_Name_2.png
  6. Select a Stack from the LOOKUP list.
    17.Select_Stack.png
  7. Select a Content Type from the LOOKUP list.
    18.Select_Content_Type.png
  8. Select an Entry ID from the LOOKUP list for which you want to set the workflow stage.
    19.Select_Entry_ID.png
  9. Select the Workflow Stage ID from the LOOKUP list.

    Note: If you select the Workflow Stage ID as Next Stage, the workflow stage of the selected entry will be updated automatically to the next stage. And, if your entry has reached the last stage of the workflow, a success message will be shown for the completed workflow.

    20.Select_Workflow_Stage_ID.png
  10. Set a Due Date. This defines a date for the entry stage to be completed.
    21.Set_Due_Date.png
  11. With Notify via Email, you can choose to notify other members in the workflow about the action changes via email.
    22.Enter_Value_Notify_via_Email.png
  12. Under Workflow Comment, add a comment for the next stage user.
    23.Add_Workflow_Comment.png
  13. Click on Proceed.
    24.Click_Proceed.png
  14. Click on Test Action to test the configured action.
    25.Click_Test_Action.png
  15. If the setup is successful, you will see the following output. Click on Save and Exit.
    26.Click_Save&Exit.png

Localize an Entry

This action lets you create localized versions of your entries. Here’s a link to know more about Localization.

  1. Select Localize an Entry action.
    27.Set_Localize_an_Entry.png
  2. In the Configure Action tab, click on + Add New Account to add your Contentstack account.
    28.Click_Add_New_Account.png
  3. In the pop-up window, provide OAuth permissions for all the values by checking the boxes and click on Authorize.
    Authorize_Popup.png
  4. In the pop-up that appears, select your organization to complete authorization.
    30.Select_Organization_2.png
  5. Provide an Account Name and click on Save.
    31.Set_Account_Name_2.png
  6. Select the Stack API key from the LOOKUP list.
    32.Select_Stack_API_Key.png
  7. Under Content Type Name, select a content type from the LOOKUP list.
    33.Select_Content_Type.png
  8. Select an Entry ID from the LOOKUP list for which you want to create the locale version.
    34.Select_Entry_ID.png
  9. Select Locale from the LOOKUP list. It provides a list of languages present in your stack.
    35.Select_a_Locale.png
  10. Provide your entry data in the Entry Data field.

    Note: Provide your entry data in JSON format as per your content type schema.

    36.Provide_Entry_Data.png
  11. Click on Proceed.
    37.Click_Proceed.png
  12. Click on Test Action to test the configured action.
    38.Click_Test_Action.png
  13. The output will be shown as follows. Click on the Save and Exit button to finish setting up the Localize an Entry action for the Contentstack connector.
    39.Click_Save&Exit.png

This sets the Contentstack action connector.

Was this article helpful?

Thanks for your feedbackSmile-icon

On This Page

^