Skip to main content
Pathfinder Advocate | Tier 6
May 31, 2023
Solved

Do you know any tutorial about triggers(file, and email) for unattented bots?

  • May 31, 2023
  • 19 replies
  • 873 views

how to do tasks with file and email triggers? As I searched, using triggers on task itself is not enough, I have to make some settings on controlroom-credentials or something

Best answer by Raul Jaimes

@Semih 3318 

Drag and drop a  Trigger action to your taskbot. It will allow run a bot using event triggers.

 

Regards

19 replies

Pathfinder Advocate | Tier 6
May 31, 2023

Hello @Raul Jaimes 

as i remember, i tried to do event triggers on control room but i somehow couldnt achieve it.

Now ill give it a try again. Thanks for the answer

Pathfinder Advocate | Tier 6
May 31, 2023

Hello @Raul Jaimes 

I am trying to use EmailTrigger, but it does not show me “Run with triggers” option. Also as I know, when I run a task with triggers, it automatically will be added on event triggers list on controlroom.

So since i cant run it with triggers, it doesnt get loaded.

What do I do?

 

Raul Jaimes
Navigator | Tier 3
June 1, 2023

@Semih 3318 

Drag and drop a  Trigger action to your taskbot. It will allow run a bot using event triggers.

 

Regards

Flight Specialist | Tier 4
June 1, 2023

I’m not sure if even running from the control room achieves what most developers think of as a trigger. Launching a BOT with triggers from the control room starts the BOT on the specific BOT Runner and then it’s open and running waiting for its trigger. That ties up that BOT runner until the BOT receives its trigger so no other BOT can use that runner.

What I think of as a true “trigger” is “something happens” and the BOT is Launched. A Trigger in AA is “BOT is launched and waits for the trigger”.

We use power apps and logic apps to pick up files from e-mail and other actions and schedule some of our BOTs to run every 15 minutes to check for new files etc. 

Pathfinder Advocate | Tier 6
June 6, 2023

@Raul Jaimes Hi, thanks a lot for the reply.

I added Trigger action now, (i thought i needed to use Trigger on Actions part, instead of Triggers part on the left)

I added Trigger action on the top of the task and checked it in to public.

What should I do next? (I just runned it from controlroom and it seems working, but i think i have some parts missing. Do I need to schedule it ? and also i havent seen anything on the controlroom-Manage-event triggers part) What can i do? 

Thanks

Pathfinder Advocate | Tier 6
June 6, 2023

@JMarino thank you for your reply. Do you schedule your bot with triggers, just like other bots without triggers? As I understand, you schedule it and it always look at email in every 15mins, if there is email, it runs.

I am actually trying to understand what is different between scheduling bots with triggers, and not scheduling but just using Trigger action.

I guess you didnt use Trigger action, but you behave your bot like it was a trigger in every 15mins, it connects to email server, and looks at the email inbox.

If it is scheduled, it will always run and look at emails. But if its not scheduled, and only if it has trigger action, how does it behave? Does it still run in a every specific time?

Thank you.

Pathfinder Advocate | Tier 6
June 7, 2023

@Raul Jaimes 

I added FileTrigger, it works on botcreator.

Then i checked it into public. Created event trigger. After that, on the controlroom, i selected Automation-Run bot with triggers- dragged the bot to the right with arrow- and then it gets enabled.

But when i add the file, it doesnt run on botrunner

seems like i miss something, could you help please?

Raul Jaimes
Navigator | Tier 3
June 8, 2023

Hi @Semih 3318 

in the VM enter to Control-Room using botrunner account. You will able to see a pop-up indicates Trigger configuration is started.

Please let me know if you have any further questions.

Regards

Pathfinder Advocate | Tier 6
June 8, 2023

Hi @Raul Jaimes  thanks for your help.

I used Trigger action, checked in the bot to the public, then created “event triggers” on controlroom, and clicked on automation. On the right there is run with triggers, i choose the task and now it runs.