web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Contains Function and ...
Power Automate
Answered

Contains Function and Dynamic Content

(0) ShareShare
ReportReport
Posted on by 25

Hey There,

 

Part of my job is to do property inspections for a builder. The software that we use sends an email with a link to the report to view or download. I'm currently building a flow, where part of the series is to extract the link from the email.

 

The typical subject for the email would be:

 

PDI Report - *Property Address* (Lot *Lot Number*)

 

The problem I am running into, is the Contains function does not let me use dynamic content, which is required earlier in the flow (see snippet below). Since we have multiple subdivisions there may be overlap on either the Property Address or Lot Number, so in order to get the correct link from the email body, I have to match both so I don't accidentally get a link from another property.

 

I hope that makes sense. Any help would be much appreciated.

 

RyJack26_0-1669062909620.png

 

I have the same question (0)
  • Verified answer
    VJR Profile Picture
    7,635 on at

    Take a single If Contains statement and paste it into Notepad.

    Make sure this part does not have a syntax error.

    VJR_0-1669090401139.png

     

     

    VJR_1-1669090417868.png

     

    Then go into Notepad and manually add the second contains same as the first with the AND in between as shown in the yellow highlighted. 

     

    VJR_2-1669090546619.png

    Paste the Notepad line into the PAD editor

     

    VJR_3-1669090612181.png

    Now when you double click open the action it should have the proper syntax

    VJR_4-1669090674912.png

     

  • RyJack26 Profile Picture
    25 on at

    That's great. Thanks VJR!

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Vish WR Profile Picture

Vish WR 376

#2
Valantis Profile Picture

Valantis 361

#3
David_MA Profile Picture

David_MA 294 Super User 2026 Season 1

Last 30 days Overall leaderboard