cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
kbrowning33
Frequent Visitor

How to pull in a Smartsheet cell value into the subject line

I'm trying to build a flow that pulls in two seperate cell values from Smartsheet into the email subject line.

 

Any help is appreciated!

 

 

4 REPLIES 4
v-yamao-msft
Community Support
Community Support

Hi @kbrowning33 ,

 

Do you want to get value from two seperate cells from Smartsheet then use it as the email subject?


Please check if the following workaorund will work for you.


Add the trigger When a new row is created.


Initialize variable, Name set as Test, Type as Array.


Add an Apply to each, select value from dynamic content Rows Cells.


Within Apply to each, add Compose, select dynamic content Current item.


Add Compose2, input the following code:

outputs('compose')?['displayvalue']


Add Append to array variable, select Name as Test, Value as Compose2 Output.


Under Apply to each, add Compose 3 with the following code:

join(variables('Test'),'-')


Add action Send an email, select output of Compose 3 for the Subject line of action Send an email.

1.PNG2.PNG


Best regards,
Mabel

 

Community Support Team _ Mabel Mao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Hi @v-yamao-msft 

 

Thank you for responding. I am getting the following error at Append to array variable stage

 

Capture.JPG

 

i have followed the following steps

Capture1.JPGdcds.JPG

 

Hi @kbrowning33 ,

 

The error message says that the value is null. Please make sure the Compose function does return a valid value.

 

By the way, in the trigger When a new row is created, please try to input the columns that contained in the sheet.

 

Best regards,

Mabel

 

Community Support Team _ Mabel Mao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

I want to do something similar can i get the values into single variables?  to populate into another sheet, fill a word docx, etc. and than email

Helpful resources

Announcements
MPA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

MSFTBizAppsLaunchEvent

Experience what’s next for Power Virtual Agents

See the latest Power Automate innovations, updates, and demos from the Microsoft Business Applications Launch Event.

New Super Users

Meet the Power Automate Super Users!

Many congratulations to the Season 1 2021 Flownaut Crew!

Power Platform ISV STudio

Power Platform ISV Studio

ISV Studio is the go-to Power Platform destination for ISV’s to monitor & manage applications post-AppSource publish.

Users online (39,766)