Match a Microsoft Form submission to a table in Excel and run the condition if there's a match

%3CLINGO-SUB%20id%3D%22lingo-sub-1548095%22%20slang%3D%22en-US%22%3EMatch%20a%20Microsoft%20Form%20submission%20to%20a%20table%20in%20Excel%20and%20run%20the%20condition%20if%20there's%20a%20match%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1548095%22%20slang%3D%22en-US%22%3E%3CP%3EHi%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20have%20a%20Microsoft%20Form%20set%20up%20where%20I%20am%20requesting%20a%20first%20name%2C%20last%20name%2C%20email%20address%20and%20an%20ID%20value%20which%20is%20a%20number%20for%20an%20event%20I%20am%20holding.%20Only%20authorized%20members%20can%20attend%20this%20meeting%2C%20and%20I%20authenticate%20this%20via%20the%20ID%20value%20that's%20captured%20and%20look%20it%20up%20according%20to%20an%20Excel%20spreadsheet%20I%20have%20stored%20in%20OneDrive%20for%20Business.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20want%20to%20use%20Power%20Automate%20to%20do%20the%20automatic%20authentication%20by%20taking%20the%20ID%20value%20from%20a%20Form%20submission%2C%20match%20it%20to%20the%20values%20in%20a%20table%20in%20an%20Excel%20spreadsheet%20stored%20in%20OneDrive%20for%20Business.%20If%20the%20ID%20matches%2C%20Power%20Automate%20must%20send%20an%20email%20to%20the%20recipient%20providing%20details%20to%20the%20meeting%2C%20i.e.%20the%20meeting%20link.%20If%20the%20ID%20does%20not%20match%20or%20is%20not%20found%2C%20the%20recipient%20gets%20an%20email%20stating%20what's%20the%20next%20procedure%20(a%20manual%20verification%20step%20-%20not%20created%20in%20Power%20Automate).%20The%20ID%20is%20a%20numeric%20value.%20It's%20captured%20as%20a%20numeric%20value%20on%20the%20form.%20The%20table%20has%20the%20IDs%20stored%2C%20formatted%20as%20%22General%22.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20added%20the%20following%20steps%3A%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3COL%3E%3CLI%3EWhen%20a%20new%20response%20is%20submitted%3C%2FLI%3E%3CLI%3EGet%20response%20details%3C%2FLI%3E%3CLI%3EList%20rows%20present%20in%20a%20table%3COL%3E%3CLI%3EI%20specify%20the%20ID%20value%20from%20the%20Form%20under%20the%20%22Filter%20Query%22%20field%3C%2FLI%3E%3C%2FOL%3E%3C%2FLI%3E%3CLI%3EApply%20to%20each%20control%20inserted%3COL%3E%3CLI%3ESelect%20an%20output%20from%20previous%20steps%3COL%3E%3CLI%3EI%20choose%20the%20ID%20value%20from%20the%20Excel%20table.%3C%2FLI%3E%3C%2FOL%3E%3C%2FLI%3E%3CLI%3ECondition%20control%20inserted%20where%20the%20ID%20value%20from%20the%20Excel%20table%20is%20equal%20to%20ID%20value%20in%20the%20Microsoft%20Form%20submission.%3COL%3E%3CLI%3EIf%20yes%2C%20send%20an%20email%20with%20the%20meeting%20link.%3C%2FLI%3E%3CLI%3EIf%20no%2C%20send%20an%20email%20with%20alternative%20instructions.%3C%2FLI%3E%3C%2FOL%3E%3C%2FLI%3E%3C%2FOL%3E%3C%2FLI%3E%3CLI%3EEnd%3C%2FLI%3E%3C%2FOL%3E%3CP%3EWhen%20I%20test%20the%20flow%2C%20I%20get%20an%20error%20at%20the%20%22List%20rows%20present%20in%20a%20table%22%20step.%20Under%20%22Inputs%22%2C%20I%20can%20see%20the%20ID%20value%20captured%20under%20the%20%22Filter%20Query%22%20field.%20Under%20%22Outputs%22%2C%20an%20error%20is%20shown.%20The%20error%20is%20reproduced%20below%3A%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSTRONG%3EBadRequest%3C%2FSTRONG%3E%3C%2FP%3E%3CP%3E%3CSTRONG%3EStatus%20Code%3A%20400%3C%2FSTRONG%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSTRONG%3EHeaders%3A%3C%2FSTRONG%3E%3C%2FP%3E%3CTABLE%20border%3D%221%22%20width%3D%22100%25%22%3E%3CTBODY%3E%3CTR%3E%3CTD%20width%3D%2250%25%22%20height%3D%2230px%22%3E%3CSTRONG%3EKey%3C%2FSTRONG%3E%3C%2FTD%3E%3CTD%20width%3D%2250%25%22%20height%3D%2230px%22%3E%3CSTRONG%3EValue%3C%2FSTRONG%3E%3C%2FTD%3E%3C%2FTR%3E%3CTR%3E%3CTD%20width%3D%2250%25%22%20height%3D%2230px%22%3E%3CSPAN%3EPragma%3C%2FSPAN%3E%3C%2FTD%3E%3CTD%20width%3D%2250%25%22%20height%3D%2230px%22%3E%3CSPAN%3Eno-cache%3C%2FSPAN%3E%3C%2FTD%3E%3C%2FTR%3E%3CTR%3E%3CTD%20width%3D%2250%25%22%20height%3D%2230px%22%3E%3CSPAN%3Ex-ms-request-id%3C%2FSPAN%3E%3C%2FTD%3E%3CTD%20width%3D%2250%25%22%20height%3D%2230px%22%3E%3CSPAN%3E55ead164-c257-48e2-94ea-a...%3C%2FSPAN%3E%3C%2FTD%3E%3C%2FTR%3E%3CTR%3E%3CTD%20width%3D%2250%25%22%20height%3D%2230px%22%3E%3CSPAN%3EStrict-Transport-Security%3C%2FSPAN%3E%3C%2FTD%3E%3CTD%20width%3D%2250%25%22%20height%3D%2230px%22%3E%3CSPAN%3Emax-age%3D31536000%3B%20includeSub...%3C%2FSPAN%3E%3C%2FTD%3E%3C%2FTR%3E%3CTR%3E%3CTD%20width%3D%2250%25%22%20height%3D%2230px%22%3E%3CSPAN%3EX-Content-Type-Options%3C%2FSPAN%3E%3C%2FTD%3E%3CTD%20width%3D%2250%25%22%20height%3D%2230px%22%3E%3CSPAN%3Enosniff%3C%2FSPAN%3E%3C%2FTD%3E%3C%2FTR%3E%3CTR%3E%3CTD%20width%3D%2250%25%22%20height%3D%2230px%22%3E%3CSPAN%3EX-Frame-Options%3C%2FSPAN%3E%3C%2FTD%3E%3CTD%20width%3D%2250%25%22%20height%3D%2230px%22%3E%3CSPAN%3EDENY%3C%2FSPAN%3E%3C%2FTD%3E%3C%2FTR%3E%3CTR%3E%3CTD%20width%3D%2250%25%22%20height%3D%2230px%22%3E%3CSPAN%3ETiming-Allow-Origin%3C%2FSPAN%3E%3C%2FTD%3E%3CTD%20width%3D%2250%25%22%20height%3D%2230px%22%3E*%3C%2FTD%3E%3C%2FTR%3E%3CTR%3E%3CTD%20width%3D%2250%25%22%20height%3D%2230px%22%3E%3CSPAN%3Ex-ms-apihub-cached-response%3C%2FSPAN%3E%3C%2FTD%3E%3CTD%20width%3D%2250%25%22%20height%3D%2230px%22%3Efalse%3C%2FTD%3E%3C%2FTR%3E%3CTR%3E%3CTD%20width%3D%2250%25%22%20height%3D%2230px%22%3E%3CSPAN%3ECache-Control%3C%2FSPAN%3E%3C%2FTD%3E%3CTD%20width%3D%2250%25%22%20height%3D%2230px%22%3E%3CDIV%20class%3D%22ms-List-cell%22%3E%3CDIV%20class%3D%22ms-FocusZone%20css-107%20ms-DetailsRow%20root-756%22%3E%3CDIV%20class%3D%22ms-DetailsRow-fields%20fields-663%22%3E%3CDIV%20class%3D%22ms-DetailsRow-cell%20cell-757%20cellUnpadded-656%22%3Eno-store%2C%20no-cache%3C%2FDIV%3E%3C%2FDIV%3E%3C%2FDIV%3E%3C%2FDIV%3E%3C%2FTD%3E%3C%2FTR%3E%3CTR%3E%3CTD%20width%3D%2250%25%22%20height%3D%2230px%22%3E%3CSPAN%3EDate%3C%2FSPAN%3E%3C%2FTD%3E%3CTD%20width%3D%2250%25%22%20height%3D%2230px%22%3E%3CDIV%20class%3D%22ms-List-cell%22%3E%3CDIV%20class%3D%22ms-FocusZone%20css-107%20ms-DetailsRow%20root-756%22%3E%3CDIV%20class%3D%22ms-DetailsRow-fields%20fields-663%22%3E%3CDIV%20class%3D%22ms-DetailsRow-cell%20cell-757%20cellUnpadded-656%22%3EMon%2C%2027%20Jul%202020%2014%3A36%3A37%20GMT...%3C%2FDIV%3E%3C%2FDIV%3E%3C%2FDIV%3E%3C%2FDIV%3E%3C%2FTD%3E%3C%2FTR%3E%3CTR%3E%3CTD%20height%3D%2230px%22%3E%3CSPAN%3EContent-Length%3C%2FSPAN%3E%3C%2FTD%3E%3CTD%20height%3D%2230px%22%3E500%3C%2FTD%3E%3C%2FTR%3E%3CTR%3E%3CTD%20height%3D%2230px%22%3E%3CDIV%20class%3D%22ms-DetailsRow-cell%20cell-757%20cellUnpadded-656%22%3EContent-Type%3C%2FDIV%3E%3C%2FTD%3E%3CTD%20height%3D%2230px%22%3Eapplication%2Fjson%3C%2FTD%3E%3C%2FTR%3E%3CTR%3E%3CTD%20height%3D%2230px%22%3E%3CSPAN%3EExpires%3C%2FSPAN%3E%3C%2FTD%3E%3CTD%20height%3D%2230px%22%3E-1%3C%2FTD%3E%3C%2FTR%3E%3C%2FTBODY%3E%3C%2FTABLE%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSTRONG%3EBody%3A%3C%2FSTRONG%3E%3C%2FP%3E%3CDIV%3E%3CDIV%3E%3CEM%3E%7B%3C%2FEM%3E%3C%2FDIV%3E%3CDIV%3E%3CEM%3E%26nbsp%3B%26nbsp%3B%22status%22%3A%26nbsp%3B400%2C%3C%2FEM%3E%3C%2FDIV%3E%3CDIV%3E%3CEM%3E%26nbsp%3B%26nbsp%3B%22message%22%3A%26nbsp%3B%22The%26nbsp%3B%24filter%26nbsp%3Bexpression%26nbsp%3Bmust%26nbsp%3Bevaluate%26nbsp%3Bto%26nbsp%3Ba%26nbsp%3Bsingle%26nbsp%3Bboolean%26nbsp%3Bvalue.%5Cr%5Cn%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3Binner%26nbsp%3Bexception%3A%26nbsp%3BThe%26nbsp%3B%24filter%26nbsp%3Bexpression%26nbsp%3Bmust%26nbsp%3Bevaluate%26nbsp%3Bto%26nbsp%3Ba%26nbsp%3Bsingle%26nbsp%3Bboolean%26nbsp%3Bvalue.%5Cr%5CnclientRequestId%3A%26nbsp%3B55ead164-c257-48e2-94ea-a0e8240e9dd1%22%2C%3C%2FEM%3E%3C%2FDIV%3E%3CDIV%3E%3CEM%3E%26nbsp%3B%26nbsp%3B%22error%22%3A%26nbsp%3B%7B%3C%2FEM%3E%3C%2FDIV%3E%3CDIV%3E%3CEM%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%22message%22%3A%26nbsp%3B%22The%26nbsp%3B%24filter%26nbsp%3Bexpression%26nbsp%3Bmust%26nbsp%3Bevaluate%26nbsp%3Bto%26nbsp%3Ba%26nbsp%3Bsingle%26nbsp%3Bboolean%26nbsp%3Bvalue.%5Cr%5Cn%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3Binner%26nbsp%3Bexception%3A%26nbsp%3BThe%26nbsp%3B%24filter%26nbsp%3Bexpression%26nbsp%3Bmust%26nbsp%3Bevaluate%26nbsp%3Bto%26nbsp%3Ba%26nbsp%3Bsingle%26nbsp%3Bboolean%26nbsp%3Bvalue.%22%3C%2FEM%3E%3C%2FDIV%3E%3CDIV%3E%3CEM%3E%26nbsp%3B%26nbsp%3B%7D%2C%3C%2FEM%3E%3C%2FDIV%3E%3CDIV%3E%3CEM%3E%26nbsp%3B%26nbsp%3B%22source%22%3A%26nbsp%3B%22excelonline-we.azconn-we.p.azurewebsites.net%22%3C%2FEM%3E%3C%2FDIV%3E%3CDIV%3E%3CEM%3E%7D%3C%2FEM%3E%3C%2FDIV%3E%3CDIV%3E%26nbsp%3B%3C%2FDIV%3E%3CDIV%3E%3CSPAN%3EThen%20the%20flow%20stops%20working%20after%20this.%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%3E%26nbsp%3B%3C%2FDIV%3E%3CDIV%3E%3CSPAN%3EAny%20advice%20would%20be%20appreciated%20as%20to%20why%20this%20flow%20is%20not%20working%3F%3C%2FSPAN%3E%3C%2FDIV%3E%3C%2FDIV%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1548095%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EExcel%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EFilter%20Query%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EForms%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EODATA%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EOutlook%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EPower%20Automate%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1552275%22%20slang%3D%22en-US%22%3ERe%3A%20Match%20a%20Microsoft%20Form%20submission%20to%20a%20table%20in%20Excel%20and%20run%20the%20condition%20if%20there's%20a%20match%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1552275%22%20slang%3D%22en-US%22%3E%3CP%3EHi%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F231049%22%20target%3D%22_blank%22%3E%40Chintan%20Patel%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EHave%20you%20tried%20removing%20the%20filter%20from%20%3CSTRONG%3EList%20rows%20present%20in%20a%20table%3C%2FSTRONG%3E%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EYour%20condition%20already%20matches%20the%20ID%20from%20the%20form%20response%20to%20the%20ID%20listed%20in%20your%20spreadsheet%20so%20the%20filter%20is%20not%20needed.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ELet%20us%20know%20how%20you%20go%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ECheers%3C%2FP%3E%3CP%3EDamien%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1553286%22%20slang%3D%22en-US%22%3ERe%3A%20Match%20a%20Microsoft%20Form%20submission%20to%20a%20table%20in%20Excel%20and%20run%20the%20condition%20if%20there's%20a%20match%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1553286%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F89704%22%20target%3D%22_blank%22%3E%40Damien%20Rosario%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThank%20you%20for%20responding.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EWhen%20I%20remove%20that%20filter%20from%20%3CSTRONG%3EList%20rows%20present%20in%20a%20table%20%2C%20%3C%2FSTRONG%3Ethe%20%3CSTRONG%3EApply%20to%20Each%26nbsp%3B%3C%2FSTRONG%3Econtrol%20goes%20into%20an%20infinite%20loop%20where%20I%20get%20bombarded%20with%20infinite%20emails%20from%20the%26nbsp%3B%3CSTRONG%3EIf%20no%3C%2FSTRONG%3E%20condition.%20I%20had%20to%20stop%20the%20flow%20and%20disable%20it%20else%20it%20would%20have%20been%20catastrophic.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ERegards%3C%2FP%3E%3CP%3EChintan%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1555172%22%20slang%3D%22en-US%22%3ERe%3A%20Match%20a%20Microsoft%20Form%20submission%20to%20a%20table%20in%20Excel%20and%20run%20the%20condition%20if%20there's%20a%20match%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1555172%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F113553%22%20target%3D%22_blank%22%3E%40Chintan%20Patel%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIf%20it%20gives%20you%20the%20right%20result%20but%20continues%20in%20an%20infinite%20loop%2C%20try%20a%20%3CSTRONG%3ETerminate%3C%2FSTRONG%3E%20action%20(set%20it%20to%20%3CSTRONG%3ESucceeded%3C%2FSTRONG%3E)%26nbsp%3B%3CU%3Eafter%3C%2FU%3E%20the%20%3CSTRONG%3ESend%20email%3C%2FSTRONG%3E%20action.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThat'll%20kill%20the%20workflow%20after%20the%20first%20execution%20which%20should%20give%20you%20the%20desired%20email%20outcome%20and%20also%20stop%20getting%20spammed.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThere's%20other%20ways%20to%20get%20around%20this%2C%20but%20this%20is%20the%20first%20thing%20that%20popped%20into%20my%20head%20that's%20easy%20to%20implement.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ECheers%3C%2FP%3E%3CP%3EDamien%3C%2FP%3E%3C%2FLINGO-BODY%3E
New Contributor

Hi

 

I have a Microsoft Form set up where I am requesting a first name, last name, email address and an ID value which is a number for an event I am holding. Only authorized members can attend this meeting, and I authenticate this via the ID value that's captured and look it up according to an Excel spreadsheet I have stored in OneDrive for Business.

 

I want to use Power Automate to do the automatic authentication by taking the ID value from a Form submission, match it to the values in a table in an Excel spreadsheet stored in OneDrive for Business. If the ID matches, Power Automate must send an email to the recipient providing details to the meeting, i.e. the meeting link. If the ID does not match or is not found, the recipient gets an email stating what's the next procedure (a manual verification step - not created in Power Automate). The ID is a numeric value. It's captured as a numeric value on the form. The table has the IDs stored, formatted as "General".

 

I added the following steps:

 

  1. When a new response is submitted
  2. Get response details
  3. List rows present in a table
    1. I specify the ID value from the Form under the "Filter Query" field
  4. Apply to each control inserted
    1. Select an output from previous steps
      1. I choose the ID value from the Excel table.
    2. Condition control inserted where the ID value from the Excel table is equal to ID value in the Microsoft Form submission.
      1. If yes, send an email with the meeting link.
      2. If no, send an email with alternative instructions.
  5. End

When I test the flow, I get an error at the "List rows present in a table" step. Under "Inputs", I can see the ID value captured under the "Filter Query" field. Under "Outputs", an error is shown. The error is reproduced below:

 

BadRequest

Status Code: 400

 

Headers:

KeyValue
Pragmano-cache
x-ms-request-id55ead164-c257-48e2-94ea-a...
Strict-Transport-Securitymax-age=31536000; includeSub...
X-Content-Type-Optionsnosniff
X-Frame-OptionsDENY
Timing-Allow-Origin*
x-ms-apihub-cached-responsefalse
Cache-Control
no-store, no-cache
Date
Mon, 27 Jul 2020 14:36:37 GMT...
Content-Length500
Content-Type
application/json
Expires-1

 

Body:

{
  "status": 400,
  "message": "The $filter expression must evaluate to a single boolean value.\r\n     inner exception: The $filter expression must evaluate to a single boolean value.\r\nclientRequestId: 55ead164-c257-48e2-94ea-a0e8240e9dd1",
  "error": {
    "message": "The $filter expression must evaluate to a single boolean value.\r\n     inner exception: The $filter expression must evaluate to a single boolean value."
  },
  "source": "excelonline-we.azconn-we.p.azurewebsites.net"
}
 
Then the flow stops working after this.
 
Any advice would be appreciated as to why this flow is not working?
4 Replies

Hi @Chintan Patel 

 

Have you tried removing the filter from List rows present in a table?

 

Your condition already matches the ID from the form response to the ID listed in your spreadsheet so the filter is not needed.

 

Let us know how you go?

 

Cheers

Damien

Hi @Damien Rosario 

 

Thank you for responding.

 

When I remove that filter from List rows present in a table , the Apply to Each control goes into an infinite loop where I get bombarded with infinite emails from the If no condition. I had to stop the flow and disable it else it would have been catastrophic.

 

 

Regards

Chintan

Hi @Chintan Patel 

 

If it gives you the right result but continues in an infinite loop, try a Terminate action (set it to Succeededafter the Send email action.

 

That'll kill the workflow after the first execution which should give you the desired email outcome and also stop getting spammed.

 

There's other ways to get around this, but this is the first thing that popped into my head that's easy to implement.

 

Cheers

Damien

Hi Damien,
I`m facing the same problem, however, I`d like to send an e-mail in both situations: either the ID matches or not.
Could you please, share some flow that addresses this issue?
Thanks in advance