creating a list of labels in single choice using a...
# šŸ¤help
f
In the single choice, i have 10 choices to display. Instead of manually typing in each Label box, can i read the values from a table and fill those labels?
w
Hi ! Yes you can 1. If you perform a "ind records" , you will get a responses of this format :
Copy code
[
{
"computed": {},
"stale": [],
"id": 1,
"createdAt": "2024-06-18T17:00:27.818Z",
"updatedAt": "2024-06-18T17:01:19.158Z",
"name": "apple",
"description": "description1"
}
]
and you can target the name and description with
{{workflow.records[0].name}}
and write that directly in the single choice card, if the name of your variable is
records
. Just update the number between the brackets 2. If you have a variable number of records, you can look at this : https://discord.com/channels/1108396290624213082/1135960836209393676
hope this will help
f
thank you..... i will try it!!
thank you again
so now i have another issue.....i am on the free plan and even tho it says i can create 5000 records...i CANT create a table...
w
Can you send a screenshot in which you try do to so ?
f
w
The thing you are showing on this screenshot is that you haven’t created yet a table so you can’t a table to your database since you haven’t created one
In order to create a table click on the last icon next to the name of your bot , upper left of your page
On the table icon
f
notice that the create table button is disabled......and when i hover the mouse over the button, it hows the red stop symbol
ah
one sec pleasse
w
Then you will be able to add it as a database
f
woooot
thank ou,.,..!!!!!
:))