description |
---|
In this section you will learn how to extract values from components on the page |
Let's say you have the Customers table. Once the user is selected in the Customers table, his or her email value will be used as the User email
parameter to send a promotional email with a Marketing tool. The succession of events will be this:
- Click on the
Value
text area - From the pop-up window, select Customers table
- Choose the
Selected row
(the value will pass once you click a row) - Select the User's email
{% @arcade/embed flowId="w9zdRj4SoT8HdIgjEmWM" url="https://app.arcade.software/share/w9zdRj4SoT8HdIgjEmWM" %}
The Value field will be populated with the following expression =elements.Customers["0"].selected_item.email
In that case, we need to configure Values for the "Send Email" button.
- Click on the
Value
text area - Select
Ask from user option
in the Formulas pop-up window.
NEEDS TO BE CHANGED-> COULD NOT FIND THE ASK FROM USER OPTION
Now, when the user sends an email, the values will automatically be passed from the selected row in the table to the button values.