Data Storage to use other pieces

Hi Guys,

I need help on storing on data before my flow starts.

I want to use the data on the following pieces.

Like I want to store data like;

  • Business Name:
  • Email Address:
  • Phone Number:
  • Custom Prompt

Like do i need to use the “Storage” data, if so with which options, like i can use json format for the data, it doesnt matter

Hello @kogo ,

You can use the Storage piece to store data. You have the option to store it in JSON format or as separate variables, such as one for the business name, one for the email, and so on.

1 Like

Thanks, however im stuck on configuring the storage piece.
Like i dont know what to choose like for action: get, put, append…

I think i need to use the “put” action.

How can i store data as json format like this

[
  {
    "business name": "one stop biz",
    "email": "sample@domain.com",
    "phone number": "0451684135"
  }
]

is this correct if i want to separate variable;

This is the correct way to store individual elements.

1 Like

thanks however how can i store this json data

is this possible?

thanks however how can i store this json data

First, add an empty list to storage using the ‘Put’ action of the storage piece. After that, use the ‘Add to List’ action of the storage piece to add JSON data to the list.

1 Like

Thanks for the help & reply.

Sorry I didn’t understand you, copied the same “put” storage but didnt understand the next one

Use the ‘Add List’ step after the ‘Put’ step. It will add JSON object in list.

Thanks sorry however but this one not I’m after.

Like i want to extract only phone number from storage to use for twillo (sms m essage) and only email for sendgrid

@kishanprmr sorry when you have the time, i need help with this

I’ve seen this question asked several times before. Is there no guide/post the team can point people to? It’s high time there was one!

@kogo

Here are the steps to retrieve stored contact information from storage:

  1. First, add the contact information to storage using the ‘Add to List’ action.

  1. In the subsequent actions, retrieve the stored value from storage using the ‘Get’ action. Note that the output of this action is a JSON string, not a JSON object. To convert this string into a JSON object, use the JSON piece.

  1. Use the JSON piece with the ‘Convert Text to JSON’ action. This will convert the JSON string into a format that can be used in the following steps.

Thanks so much for the help & your time.

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.