1

I'm stuck at determine variables on directus flows. I know there is {{$trigger.payload.field}} and it works. But I need read data from other collection so called it tablex. So I use operation "Read Data" and set a key like "read_tablex". It works.

read_tablex give one result like this: [ { "id": 12, "address": "somewhere in the world", } ]

I need address's value. Already tried: {{$last[0].address}} or {{$read_tablex[0].address}} or {{$read_tablex.address}} or {{$read_tablex.payload.address}} or {{$read_tablex.payload[0].address}} still no luck. Please help.

asked Oct 22, 2024 at 5:25

1 Answer 1

1

You should be able to access the data using {{read_tablex.address}}, without using $ sign at the beginning.

You can check out this video starting at 51:45 as a reference.

answered Nov 15, 2024 at 7:43
Sign up to request clarification or add additional context in comments.

Comments

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.