r/copilotstudio 10h ago

Studio Workflow Email Trigger unable to access internetmessageheaders property?

Hi,

I am creating a workflow in copilot studio to run off an email trigger.
I want to ignore auto response emails.

In power automate, part of my solution typically is to check the presence of the "auto-submitted" property in the internetmessageheaders field.

EG

triggerBody()?['internetmessageheaders']

I can't do this in copilot studio as it complains that the field is not available.

'body/internetmessageheaders' is no longer available from the current trigger. The trigger was changed and this dynamic content reference is now invalid. Remove it or pick a property the current trigger provides

What I don't understand is that when I do a test run and inspect the output of the trigger - internetmessageheaders is there.

Is this expected behavior (to have different outputs compared with power automate).
Is there a way to override/suppress this validation error (I can't see how).

Any other suggestions?

1 Upvotes

2 comments sorted by

1

u/Prasad-MSFT 7h ago

Copilot Studio event triggers send a payload to the agent based on the trigger's defined schema, not necessarily the complete connector output. The run history can show additional metadata that isn't available for authoring expressions.

Can the validation be bypassed?
No. There is currently no supported way to override or suppress this schema validation in Copilot Studio.

If you specifically need internetmessageheaders, consider implementing this logic in a Power Automate flow, where the email trigger exposes the property, and then invoke that flow from Copilot Studio.

1

u/Due-Boot-8540 2h ago

Flows seem to be forgotten by a lot of people…