cancel
Showing results for 
Search instead for 
Did you mean: 
Community Manager Community Manager
Community Manager

Trigger a bot from Email

Is it possible to trigger a bot to start when a new email comes into my inbox if I'm using outlook or Gmail and the browser is constantly open?

 

Labels: (1)
0 Kudos
Reply
4 Replies
Highlighted
rhia
Nintex Newbie

Re: Trigger a bot from Email

I wonder if you could schedule it to run every hour or so and check for new / unread items and trigger from that? Or even every 15minutes. I'm curious, too!

0 Kudos
Reply
mbalslow
Nintex Newbie

Re: Trigger a bot from Email

@eharris04,

 

This is possible - check this article out for inspiration: https://support.foxtrotalliance.com/hc/en-us/articles/360018207251

If that is not exactly what you are looking for, let me know, and we can assist you to achieve specifically what you need.

Reply
Nintex Employee
Nintex Employee

Re: Trigger a bot from Email

Hey @eharris04 and @rhia 

 

I'll just add my 2 cents here.

 

Strictly within Foxtrot itself, you've got 2 options here: running continously or checking periodically.

 

Running continously

With this, you'd essentially have a machine with a botflow running in a big loop.

 

Checking Periodically

Within FoxHub, you can schedule the botflow to run every 5/10/15/30 minutes to check for new emails to process.

 

Either way, you would use Foxtrot's built in IMAP connection with a 'Get Email' action and then 'Loop Email' to go through the emails it pulls in. Within the 'Loop Email', you can utilize Loop tokens to access elements from the email itself, such as Subject, Body and Sender.

 

Using Foxtrot's built in Email Connections eliminates the need to interact with Outlook's or Gmail's interface, and doesn't require any advanced coding.

 

If you're comfortable with it, you can definitely setup the code in Outlook based on what @mbalslow  recommended as well to utilize FoxHub's File Triggers. However, I am not sure how this would work if you're looking for attachments or need to extract specific text from the email.

 

Let me know if you've got any more questions or need clarification! Smiley Happy

Tags (3)
Reply
mbalslow
Nintex Newbie

Re: Trigger a bot from Email

@john_armstrong,

 

Just to clarify, the mentioned solution won't do anything else than wait for an email to arrive and produce a file in a folder that would trigger a FoxHub job using the File Trigger. All the work of getting the email, reading it, downloading attachments, etc. is something you would do normally. The solution simply make sure to place a file and trigger a job when an email arrives.

0 Kudos
Reply