The CreatorCon Call for Content is officially open! Get started here.

Inbound Email Trigger for AI Agent

sarc
Tera Contributor

Hello Community ,

I am working on a use case on AI agents, but I am stuck at a point. I want to trigger the AI agent when an email comes to the instance from a caller. So, for this I tried the Inbound Email Action trigger in the conditions. But it's not working. Could you please help me understand where the issue is happening ?

 

I have tried following couple of existing post where it is suggested to move the trigger from Inbound Email to Created / Updated, however,  not being able to find sys_email table under creation / update trigger. 

 

Please find below the configuration done by me.

sarc_0-1758340788389.png

Can you please help me with this.
Thanks !!

 

3 REPLIES 3

rpriyadarshy
Mega Guru

May i Know what is the Use Case/Problem Statement here ? And what AI Agent is Suppose to do?

 

Regards

RP

 

PaulSylo
Tera Sage
Tera Sage

Hello @sarc - Firstly, I need you to help me with the use case.

second, keep the use case aside, and you need your AI agent to be triggered whenever you receive the email right? instead of creating a trigger , i would say, create a script to query the latest received email from sys_mail table and call this script from your tools ( don't give anything on trigger) and then call this Ai agent from your Ai Workflow and provide proper instruction. 

There may be many option, but i did this in my use case and it is working very well !

 

Let me know if you need any help

Regards,
PaulSylo

Kindly mark "helpful", if this helps, or Mark as "Accepted " if it solves your issues !

warren_chan
ServiceNow Employee
ServiceNow Employee

We cleaned up the Inbound Email trigger in the July 2025 release of AI agents. It should be much more intuitive going forward. Try this configuration: 

 

Screenshot 2025-09-22 at 9.37.31 PM.png