Share feedback, ideas and get community help

D
F
M
a
g

Accss variables in the Typebot results table

Is there a way to access these saved variables from within the bot?

I want to just check them for duplicates to see if a redemption code has been issued before (Also storing them in an external database)

I would only need to query like the last minute or less (but open to querying more depending on posibilities). Once a code is generated and no duplicates are found, I do store it in the database as a used code so I just need to query the bot for codes created but haven't made it to the database yet.
B
g
2 comments
I don't need this anymore- nocoDB is so fast that I just check and post the ID there. There was a delay with sheets to the point that simultaneous use was a real concern.

BUT, my question was more- if it does get saved in the results table- would there be a way to access it in the bot-

Like if it were a list of IDs, could I check them with a loop for duplicates.

{{={{myIDs}}{{[iDiterator]}}=}} isEqual {{newID}}

{{={{iDiterator}}+1=}}

and loop that for no true results...

But like I said I don't need this right now, just wondering if there is a way to access that table/array from within the bot itself.
Add a reply
Sign up and join the conversation on Discord
Join