Introducing Contentstack AI Assistant - our new ChatGPT integrationNew ChatGPT integrationRead more
cs-icon.svg

Data Store

The Data Store connector helps you store keys and their corresponding values within a database, that you can retrieve later.

Set up Data Store

Perform the following steps to set up the Data Store action connector:

  1. Click Configure Action Step from the left navigation panel.
  2. Click Action Step to configure third-party services.
  3. Within the Configure Action Step, click the Data Store connector.
    Data-Store-Connector.png
  4. Under Choose an Action tab, you will see two actions: Get Data (retrieve data stored in Data Store) and Set Data (add data into Data Store).

    Action 1: Select the Set Data action:
    Data-Store-Action-SET-Data.png
    1. On the Set Data Configure Action page, you need to provide at what level you need to store your data, i.e., at Automation Level or Organizational Level. Lets see their difference:
      1. Automation Level: Data set at this level can be retrieved when working only on the current automation you are setting it for.
      2. Organizational Level: Data set at this level can be retrieved when working with any automation within the organization.
        Once you select the Store At value, enter the Data values, i.e., Key and corresponding Value for the same.
        Data-Store-Action-SET-Data-Configure-Action.png
    2. Click Proceed.
    3. You will see the input values which you have configured in the Set Data Configure Action modal.
      Data-Store-Action-SET-Data-Input.png
    4. Check if the details are correct. If yes, click Test Action.
      Data-Store-Test-Action.png
    5. Once set, click Save and Exit.
      Data-Store-Action-SET-Data-Output.png

  5. Action 2: Select the Get Data action

    Data-Store-Action-GET-Data.png

    1. On the Get Data Configure Action page, you need to provide at what level you need to get/retrieve your data, i.e., at Automation Level or Organizational Level. Lets see their difference:

      1. Automation Level: This will retrieve data stored at Automation Level.

      2. Organization Level: This will retrieve data stored at Organization Level.
        Once you select the Get Value At value in the Keys field, you need to enter the keys you want to retrieve.

        Data-Store-Action-GET-Data-Configure-Action.png

        Note: For retrieving multiple values, enter the keys in a comma-separated manner.

    2. Click Proceed.
    3. You will see the input values which you have configured in the Get Data Configure Action modal.
      Data-Store-Action-GET-Data-Input.png
    4. Check if the details are correct. If yes, click Test Action.
      Data-Store-Test-Action.png
    5. Once set, click Save and Exit.

    This sets the Data Store action connector.

Was this article helpful?
^