Note: You are looking at a static snapshot of documentation related to Robot Framework automations. The most recent documentation is at https://robocorp.com/docs

RPA.Notifier

Generic keyword to use with any notifier provider.

Arguments

ArgumentTypeDefault value
provider_namestrnull
kwargsnull
param provider_name:name of the notifier service
param kwargs:see library documentation
return:True if notification was successful, False if not

Notify using email provider

Arguments

ArgumentTypeDefault value
messagestr, NoneNone
tostr, NoneNone
usernamestr, NoneNone
passwordstr, NoneNone
hoststr, NoneNone
portint587
tlsboolTrue
kwargsnull
param message:notification message
param to:target of email message
param username:email account username
param password:email account password
param host:email SMTP host name
param port:email SMTP host port number
param tls:should TLS be used (default True)
param kwargs:see library documentation
return:True if notification was successful, False if not

Example.

# Notify with Outlook account Notify Email ... message=Message from the Robot ... to=RECIPIENT_EMAIL_ADDRESS ... username=OUTLOOK_USERNAME ... password=OUTLOOK_PASSWORD ... host=smtp.office365.com ... subject=Subject of the Message

Notify using Gmail provider

Arguments

ArgumentTypeDefault value
messagestr, NoneNone
tostr, NoneNone
usernamestr, NoneNone
passwordstr, NoneNone
kwargsnull
param message:notification message
param to:target of email message
param username:GMail account username
param password:GMail account password
param kwargs:see library documentation
return:True if notification was successful, False if not

Notify using Pushover provider

Arguments

ArgumentTypeDefault value
messagestr, NoneNone
userstr, NoneNone
tokenstr, NoneNone
kwargsnull
param message:notification message
param user:target user for the notification
param token:service token
param kwargs:see library documentation
return:True if notification was successful, False if not

Notify using Slack provider

Arguments

ArgumentTypeDefault value
messagestr, NoneNone
channelstr, NoneNone
webhook_urlstr, NoneNone
kwargsnull
param message:notification message
param channel:target channel for the notification
param webhook_url:Slack webhook url
param kwargs:see library documentation
return:True if notification was successful, False if not

Notify using Telegram provider

Arguments

ArgumentTypeDefault value
messagestr, NoneNone
chat_idstr, NoneNone
tokenstr, NoneNone
kwargsnull
param message:notification message
param chat_id:target chat id for the notification
param token:service token
param kwargs:see library documentation
return:True if notification was successful, False if not

Notify using Twilio provider

Arguments

ArgumentTypeDefault value
messagestr, NoneNone
number_fromstr, NoneNone
number_tostr, NoneNone
account_sidstr, NoneNone
tokenstr, NoneNone
kwargsnull
param message:notification message
param number_from:number where the message comes from
param number_to:number where the messages goes to
param account_sid:Twilio account SID
param token:Twilio account token
param kwargs:see library documentation
return:True if notification was successful, False if not