Stuck reading a key from Upstash

Hi all. I am developing a trading coach powered by AI. I am stuck in the following. The user inputs a Symbol, let’s say Meta. What the workflows do is, first, it triggers an API, for a workflow in n8n, which gets data and writes a key in Upstash, then Bubble gets that key, converts it to a state, and sends back a blob with data. I have been struggling for a few weeks now because I am not able to solve the merge of three elements: unique id +, symbol + session. And I believe the problem is just hitting the right syntax. If there’s any Expert out there who can help me with this one would really appreciate.

Can you show:
how n8n is writing the key
how Bubble is reading it

Even a screenshot or the raw string helps.
This usually ends up being a key mismatch rather than a Upstash issue.

this is the key that n8n send to Upstash , wispr:coach:feed:1766181629936x129683918555587360:VOO2520251219231234:VOO.Attached first image is how the Repeating Group is setup. Also how the workflow is setup to change the sate of the live key, second image.

The way the key is being built in the first image, in the set state, looks correct.

However, in the second image, when you make the API call, it looks confusing and it doesn’t seem like it’s building the same key.

Can you take a text element, write that exact same expression from the second image, and see how it renders? Does it come out in the correct format?

If you try to make the call hardcoded again directly through the API Connector, does it work?

Also, I noticed that there is an empty Authorization parameter, shouldn’t send it?

Thx for your help. I finally solved it,a t least am seeing the blob of data. It did had to do with how the keys were structured but alos, there was one workflow broken. But now it works.

1 Like

That’s great, my friend! Have a wonderful weekend!

1 Like