Sending email when a new channel message is added

%3CLINGO-SUB%20id%3D%22lingo-sub-2150385%22%20slang%3D%22en-US%22%3ESending%20email%20when%20a%20new%20channel%20message%20is%20added%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2150385%22%20slang%3D%22en-US%22%3E%3CP%3EI'm%20looking%20for%20some%20insight%20as%20to%20the%20following.%26nbsp%3B%3C%2FP%3E%3CP%3EI%20setup%20an%20automation%20as%20follow.%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIf%20someone%20sends%20an%20email%20to%20a%20channel%2C%20the%20automation%20sends%20an%20auto-reply%20message%20to%20the%20sender.%20If%20I%20send%20an%20email%20to%20the%20channel%2C%20the%20automation%20works.%20I%20get%20an%20auto-reply%20message.%20When%20someone%20who%20is%20not%20a%20member%20of%20the%20channel%20(but%20is%20within%20the%20organization)%2C%20i%20get%20a%20fail%20message.%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EError%20Message%3A%26nbsp%3B%3CSTRONG%3EWorkflowOperationParametersRuntimeMissingValue%3C%2FSTRONG%3E%3CSPAN%3E.%26nbsp%3BThe%20'inputs.parameters'%20of%20workflow%20operation%20'Get_user_profile_(V2)'%20of%20type%20'OpenApiConnection'%20is%20not%20valid.%20Error%20details%3A%20The%20resolved%20string%20values%20for%20the%20following%20parameters%20are%20invalid%2C%20they%20may%20not%20be%20null%20or%20empty%3A%20'id'%20%22%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSTRONG%3E%26nbsp%3B%3C%2FSTRONG%3E%3C%2FP%3E%3CP%3E%3CSTRONG%3EHere%20is%20the%20flow.%26nbsp%3B%3C%2FSTRONG%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSTRONG%3Ethe%20error%20comes%20up%20in%20the%20%22Get%20User%20Profile%20V2%22%20area.%20It%20seems%20to%20now%20be%20capturing%20the%20email%20address%20of%20the%20sender.%20The%20sender%20is%20in%20my%20same%20work%20group.%20they%20are%20not%20a%20member%20of%20the%20group%20yet%20(this%20is%20intentional)%20as%20I%20want%20those%20who%20send%20an%20email%2C%20to%20become%20members%20after%20the%20fact.%26nbsp%3B%3C%2FSTRONG%3E%3C%2FP%3E%3CP%3E%3CSTRONG%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22flow1.PNG%22%20style%3D%22width%3A%20509px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F256144iA306D30A5B0F5F77%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22flow1.PNG%22%20alt%3D%22flow1.PNG%22%20%2F%3E%3C%2FSPAN%3E%3C%2FSTRONG%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-2150385%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3Ebest%20practices%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EBots%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EHow-to%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EMicrosoft%20Teams%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3ETips%20%26amp%3B%20Tricks%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E
New Contributor

I'm looking for some insight as to the following. 

I setup an automation as follow. 

 

If someone sends an email to a channel, the automation sends an auto-reply message to the sender. If I send an email to the channel, the automation works. I get an auto-reply message. When someone who is not a member of the channel (but is within the organization), i get a fail message. 

 

Error Message: WorkflowOperationParametersRuntimeMissingValue. The 'inputs.parameters' of workflow operation 'Get_user_profile_(V2)' of type 'OpenApiConnection' is not valid. Error details: The resolved string values for the following parameters are invalid, they may not be null or empty: 'id' "

 

Here is the flow. 

 

the error comes up in the "Get User Profile V2" area. It seems to now be capturing the email address of the sender. The sender is in my same work group. they are not a member of the group yet (this is intentional) as I want those who send an email, to become members after the fact. 

flow1.PNG

0 Replies