cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
kbrowning33
Level: Powered On

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!

 

 

3 REPLIES 3
Community Support Team
Community Support Team

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

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.
kbrowning33
Level: Powered On

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

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

 

Community Support Team
Community Support Team

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

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.

Helpful resources

Announcements
thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

firstImage

Incoming: New and improved badges!

We've given our badges an overhaul and also added some brand new ones!

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

sixthImage

Power Platform World Tour

Find out where you can attend!

seventhimage

Webinars & Video Gallery

Watch & learn from the Power Automate Community Video Gallery!

Top Kudoed Authors (Last 30 Days)
Users online (6,269)