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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Conditional workflow b...
Power Automate
Unanswered

Conditional workflow based on new ticket method??

(0) ShareShare
ReportReport
Posted on by 1,599 Super User 2024 Season 1

Hello,

 

I have been building a helpdesk environment in SharePoint with multiple workflows. 

 

I have a workflow for when an email arrives in a shared mailbox, create an item in a SharePoint list.

 

Alternatively we'd like to be able to manually create items in the SharePoint list and have a workflow fire off to the user with their ticket details however as both workflows detect when a new item has been created if a ticket it manually created in SharePoint the user will receive their ticket email as well as the one they would receive when sending a ticket in via email.

 

Any way we can configure this with conditions?

Categories:
I have the same question (0)
  • efialttes Profile Picture
    14,756 on at

    Hi!

    So you can add a new column to your SP list called source. If Flow#1 creates a trigger when an email is received in the Shared INbox, fill this new column with a exclusive value.

    Whenever you create a ticket manually, leave this column empty, or assign it a different value.

    Hope this helps

  • sudosaurus Profile Picture
    1,599 Super User 2024 Season 1 on at

    Hi @efialttes ,

     

    So I already have a Source column with the options of "Email" or "Manual Entry".

     

    This is my automated workflow for when a new email arrives in a shared mailbox it creates an item in SharePoint and sets the Source value to "Email".

     

    automatic.png

     

    This is my automated workflow for when a new item is manually created in SharePoint and the Source value is set as "Manual Entry"

     

    manual.png

     

    Do I need to add some conditions in? As at the moment the user is getting emailed twice.

     

    Did I miss something in your reply?

  • Verified answer
    efialttes Profile Picture
    14,756 on at

    Let me see I understood. You mean, 'when a new email arrives to shared mailbox' Flow#1 is executed, then users receive two email notifications: an automated email response from the shared mailbox, and the email notification from Flow#2 and you wanna avoid this second one, right? 

    If so, two options:

    1.- desactivate automated email response from the shared mailbox or,

    2.- Add a Condition action block to Flow#2 just after the trigger, its condition rule evauating if Source Value is already 'Email':

    on the true branch 'update item' setting Ref only,

    on the false branch, 'update item' setting Ref and setting Source Value as 'Manual' + 'send email notification' action block

     

     

    Source column is of type choice, right?

    Hope this helps

     

    THe only place

  • sudosaurus Profile Picture
    1,599 Super User 2024 Season 1 on at

    This worked great thanks!

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 538 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 405 Moderator

#3
abm abm Profile Picture

abm abm 252 Most Valuable Professional

Last 30 days Overall leaderboard