{"id":8012,"date":"2024-04-08T19:50:42","date_gmt":"2024-04-08T22:50:42","guid":{"rendered":"https:\/\/blog.botcity.dev\/?p=8012"},"modified":"2024-04-08T19:50:42","modified_gmt":"2024-04-08T22:50:42","slug":"alertas-rpa","status":"publish","type":"post","link":"https:\/\/blog.botcity.dev\/pt-br\/2024\/04\/08\/alertas-rpa\/","title":{"rendered":"Gerenciamento de alertas para automa\u00e7\u00e3o Python RPA"},"content":{"rendered":"<p><span style=\"font-weight: 400;\">Gerenciamento de alertas para automa\u00e7\u00e3o \u00e9 uma chave importante para uma comunica\u00e7\u00e3o mais efetiva entre as pessoas stakeholders. Al\u00e9m de <\/span><a href=\"https:\/\/blog.botcity.dev\/pt-br\/2024\/03\/28\/gerenciamento-erros-rpa\/\"><span style=\"font-weight: 400;\">monitorar os erros<\/span><\/a><span style=\"font-weight: 400;\"> e <\/span><a href=\"https:\/\/blog.botcity.dev\/pt-br\/2024\/03\/14\/logs-em-python-para-automacao-rpa-exemplo\/\"><span style=\"font-weight: 400;\">gerenciar os logs<\/span><\/a><span style=\"font-weight: 400;\"> que s\u00e3o essenciais para orquestrar seus rob\u00f4s, os alertas podem garantir que o seu time saiba o que est\u00e1 acontecendo, seja antes, durante ou depois da execu\u00e7\u00e3o de um processo, dependendo de como voc\u00ea precisar que esses alertas funcionem e das condi\u00e7\u00f5es atendidas em seu c\u00f3digo. Neste artigo, vamos entender como configurar um alerta de acordo com a sua necessidade utilizando Python e como gerenci\u00e1-lo pelo BotCity Orquestrador.<\/span><\/p>\n<h2><span style=\"font-weight: 400;\">O que s\u00e3o alertas para automa\u00e7\u00e3o?<\/span><\/h2>\n<p><span style=\"font-weight: 400;\">Alertas s\u00e3o notifica\u00e7\u00f5es que s\u00e3o enviadas para as pessoas envolvidas em um projeto quando determinadas condi\u00e7\u00f5es configuradas no desenvolvimento do c\u00f3digo da automa\u00e7\u00e3o s\u00e3o atendidas durante sua execu\u00e7\u00e3o.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">As condi\u00e7\u00f5es podem variar de acordo com os requisitos de cada processo. Em alguns casos, pode ser necess\u00e1rio voc\u00ea notificar o time de que determinado ponto da execu\u00e7\u00e3o acabou de come\u00e7ar a executar ou ainda que um erro aconteceu antes do rob\u00f4 finalizar alguma das etapas da automa\u00e7\u00e3o, entre muitos outros.<\/span><\/p>\n<h2><span style=\"font-weight: 400;\">Tipos de alertas para automa\u00e7\u00e3o<\/span><\/h2>\n<p><span style=\"font-weight: 400;\">Os tipos de alertas para automa\u00e7\u00e3o que temos dispon\u00edveis para serem enviados e gerenciados pelo Orquestrador s\u00e3o:<\/span><\/p>\n<ul>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">INFO: alerta utilizado para levar alguma informa\u00e7\u00e3o para stakeholders;<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">WARN: alerta utilizado para avisos que merecem alguma aten\u00e7\u00e3o;<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">ERROR: alerta utilizado para notificar erros que aconteceram.<\/span><\/li>\n<\/ul>\n<h2><span style=\"font-weight: 400;\">Como adicionar o alerta na automa\u00e7\u00e3o com Python RPA<\/span><\/h2>\n<p><span style=\"font-weight: 400;\">\u00c9 necess\u00e1rio entender em quais etapas voc\u00ea precisa adicionar o alerta e quais s\u00e3o os tipos necess\u00e1rios para cada uma dessas mesmas etapas.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Mas antes de adicionar o c\u00f3digo, voc\u00ea precisa garantir que seu projeto j\u00e1 est\u00e1 pronto com o SDK importado e instanciado. Fa\u00e7a da seguinte forma, primeiro adicione a importa\u00e7\u00e3o:<\/span><\/p>\n<pre><span style=\"font-weight: 400;\">from botcity.maestro import *<\/span><\/pre>\n<p><span style=\"font-weight: 400;\">E adicione a biblioteca no arquivo requirements.txt: botcity-maestro-sdk. Em seguida, fa\u00e7a a instala\u00e7\u00e3o:<\/span><\/p>\n<pre><span style=\"font-weight: 400;\">pip install botcity-maestro-sdk<\/span><\/pre>\n<p><span style=\"font-weight: 400;\">No seu c\u00f3digo, lembre-se de instanciar:<\/span><\/p>\n<pre><span style=\"font-weight: 400;\"># instanciando o Maestro SDK<\/span>\r\n<span style=\"font-weight: 400;\">maestro = BotMaestroSDK.from_sys_args()<\/span>\r\n\r\n<span style=\"font-weight: 400;\"># buscando os detalhes da tarefa atual sendo executada<\/span>\r\n<span style=\"font-weight: 400;\">execution = maestro.get_execution()<\/span><\/pre>\n<p><span style=\"font-weight: 400;\">No exemplo deste artigo, vamos considerar, por exemplo, que na sua automa\u00e7\u00e3o voc\u00ea precise alertar o momento do in\u00edcio da execu\u00e7\u00e3o, alertar quando um site demorar a abrir e um alerta quando um erro ocorrer.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Caso voc\u00ea queira emitir um alerta informativo (do tipo INFO), voc\u00ea precisar\u00e1 adicionar a fun\u00e7\u00e3o conforme abaixo:<\/span><\/p>\n<pre>maestro.alert(\r\n    task_id=execution.task_id,\r\n    title=\"Starting the process\",\r\n    message=f\"Starting the execution: Task {execution.task_id} started\",\r\n    alert_type=AlertType.INFO\r\n)<\/pre>\n<p><span style=\"font-weight: 400;\">As informa\u00e7\u00f5es adicionadas correspondem \u00e0:<\/span><\/p>\n<ul>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">task_id: \u00e9 o ID da tarefa que est\u00e1 em execu\u00e7\u00e3o para identifica\u00e7\u00e3o;<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">title: \u00e9 o t\u00edtulo do seu alerta;<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">message: a mensagem que voc\u00ea deseja adicionar sobre esse alerta;<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">alert_type: trata-se do tipo de alerta que voc\u00ea est\u00e1 emitindo.<\/span><\/li>\n<\/ul>\n<p><span style=\"font-weight: 400;\">Caso voc\u00ea queira emitir um alerta referente a um erro (do tipo ERROR), voc\u00ea precisar\u00e1 adicionar a fun\u00e7\u00e3o conforme abaixo:<\/span><\/p>\n<pre>maestro.alert(\r\n    task_id=execution.task_id,\r\n    title=\"The process failed\",\r\n    message=f\"This page did not open: {site}\",\r\n    alert_type=AlertType.ERROR\r\n)<\/pre>\n<p><span style=\"font-weight: 400;\">E caso voc\u00ea queira emitir um alerta referente a algo que est\u00e1 demorando para executar (do tipo WARN), voc\u00ea precisar\u00e1 adicionar a fun\u00e7\u00e3o conforme abaixo:<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><\/p>\n<pre>maestro.alert(\r\n    task_id=execution.task_id,\r\n    title=\"Waiting to open the website\",\r\n    message=f\"Waiting to open the website {site}\",\r\n    alert_type=AlertType.WARN\r\n)<\/pre>\n<p><span style=\"font-weight: 400;\">Saiba mais em: <\/span><a href=\"https:\/\/documentation.botcity.dev\/maestro\/features\/alerts\/\"><span style=\"font-weight: 400;\">documenta\u00e7\u00e3o sobre alertas<\/span><\/a><span style=\"font-weight: 400;\">.<\/span><\/p>\n<h2><span style=\"font-weight: 400;\">Como adicionar quem deve receber o alerta<\/span><\/h2>\n<p><span style=\"font-weight: 400;\">Na sua automa\u00e7\u00e3o j\u00e1 dispon\u00edvel no Orquestrador pelo processo de deploy, voc\u00ea tamb\u00e9m precisa adicionar as pessoas que podem ser notificadas pelos alertas configurados.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Para isso, acesse a tela \u201cAutomations\u201d pelo menu da lateral esquerda do Orquestrador, identifique a sua automa\u00e7\u00e3o e clique no \u00edcone de tr\u00eas pontos, escolhendo por fim a op\u00e7\u00e3o \u201cEdit\u201d do menu.<\/span><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" data-attachment-id=\"8016\" data-permalink=\"https:\/\/blog.botcity.dev\/pt-br\/2024\/04\/08\/alertas-rpa\/1-automations\/\" data-orig-file=\"https:\/\/blog.botcity.dev\/wp-content\/uploads\/2024\/04\/1-automations.png\" data-orig-size=\"1912,856\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"automations\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/blog.botcity.dev\/wp-content\/uploads\/2024\/04\/1-automations-1024x458.png\" class=\"aligncenter wp-image-8016 size-full\" src=\"https:\/\/blog.botcity.dev\/wp-content\/uploads\/2024\/04\/1-automations.png\" alt=\"Print da tela de automa\u00e7\u00f5es com o nome do BotAlert no filtro para mostrar apenas ele. Tamb\u00e9m est\u00e1 aberto o menu com op\u00e7\u00f5es edit, delete e move to repository.\" width=\"1912\" height=\"856\" srcset=\"https:\/\/blog.botcity.dev\/wp-content\/uploads\/2024\/04\/1-automations.png 1912w, https:\/\/blog.botcity.dev\/wp-content\/uploads\/2024\/04\/1-automations-300x134.png 300w, https:\/\/blog.botcity.dev\/wp-content\/uploads\/2024\/04\/1-automations-1024x458.png 1024w, https:\/\/blog.botcity.dev\/wp-content\/uploads\/2024\/04\/1-automations-1536x688.png 1536w, https:\/\/blog.botcity.dev\/wp-content\/uploads\/2024\/04\/1-automations-1200x537.png 1200w\" sizes=\"auto, (max-width: 1912px) 100vw, 1912px\" \/><\/p>\n<p><span style=\"font-weight: 400;\">Ap\u00f3s isso, no campo \u201cNotify Users\u201d, selecione as pessoas que precisam receber os alertas tamb\u00e9m por e-mail. E no campo \u201cNotification Type\u201d, selecione os tipos de alertas que dever\u00e3o ser enviados por e-mail. Por fim, clique em \u201cSave\u201d.<\/span><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" data-attachment-id=\"8018\" data-permalink=\"https:\/\/blog.botcity.dev\/pt-br\/2024\/04\/08\/alertas-rpa\/2-edit-automations\/\" data-orig-file=\"https:\/\/blog.botcity.dev\/wp-content\/uploads\/2024\/04\/2-edit-automations.png\" data-orig-size=\"1910,861\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"edit automations\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/blog.botcity.dev\/wp-content\/uploads\/2024\/04\/2-edit-automations-1024x462.png\" class=\"aligncenter wp-image-8018 size-full\" src=\"https:\/\/blog.botcity.dev\/wp-content\/uploads\/2024\/04\/2-edit-automations.png\" alt=\"Print da tela de edi\u00e7\u00e3o de Automa\u00e7\u00f5es com foco na parte de notiica\u00e7\u00f5es para os alertas.\" width=\"1910\" height=\"861\" srcset=\"https:\/\/blog.botcity.dev\/wp-content\/uploads\/2024\/04\/2-edit-automations.png 1910w, https:\/\/blog.botcity.dev\/wp-content\/uploads\/2024\/04\/2-edit-automations-300x135.png 300w, https:\/\/blog.botcity.dev\/wp-content\/uploads\/2024\/04\/2-edit-automations-1024x462.png 1024w, https:\/\/blog.botcity.dev\/wp-content\/uploads\/2024\/04\/2-edit-automations-1536x692.png 1536w, https:\/\/blog.botcity.dev\/wp-content\/uploads\/2024\/04\/2-edit-automations-1200x541.png 1200w\" sizes=\"auto, (max-width: 1910px) 100vw, 1910px\" \/><\/p>\n<p><span style=\"font-weight: 400;\">Para saber se deu tudo certo, acompanhe a notifica\u00e7\u00e3o que receber\u00e1 na tela indicando que a altera\u00e7\u00e3o foi salva com sucesso.\u00a0<\/span><span style=\"font-weight: 400;\">E ent\u00e3o bastar\u00e1 acompanhar por e-mail as notifica\u00e7\u00f5es que ser\u00e3o recebidas referentes aos alertas configurados.<\/span><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" data-attachment-id=\"8026\" data-permalink=\"https:\/\/blog.botcity.dev\/pt-br\/2024\/04\/08\/alertas-rpa\/6-email-notification\/\" data-orig-file=\"https:\/\/blog.botcity.dev\/wp-content\/uploads\/2024\/04\/6-email-notification.png\" data-orig-size=\"502,420\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"email notification\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/blog.botcity.dev\/wp-content\/uploads\/2024\/04\/6-email-notification.png\" class=\"aligncenter wp-image-8026 size-full\" src=\"https:\/\/blog.botcity.dev\/wp-content\/uploads\/2024\/04\/6-email-notification.png\" alt=\"Print do alerta recebido via e-mail com as informa\u00e7\u00f5es do mesmo: nome Starting the process, Type INFO, nome do bot etc.\" width=\"502\" height=\"420\" srcset=\"https:\/\/blog.botcity.dev\/wp-content\/uploads\/2024\/04\/6-email-notification.png 502w, https:\/\/blog.botcity.dev\/wp-content\/uploads\/2024\/04\/6-email-notification-300x251.png 300w\" sizes=\"auto, (max-width: 502px) 100vw, 502px\" \/><\/p>\n<h2><span style=\"font-weight: 400;\">Como gerenciar os alertas pelo Orquestrador<\/span><\/h2>\n<p><span style=\"font-weight: 400;\">\u00c9 poss\u00edvel acompanhar os alertas pelo BotCity Orquestrador de duas maneiras: uma delas \u00e9 pela tela de alertas e a outra \u00e9 pela pr\u00f3pria tarefa.<\/span><\/p>\n<h3><span style=\"font-weight: 400;\">Gerenciar alertas pela tarefa executada<\/span><\/h3>\n<p><span style=\"font-weight: 400;\">Dentro da pr\u00f3pria tarefa, voc\u00ea identificar\u00e1 a aba \u201cAlerts\u201d e, ao clicar nela, ser\u00e1 poss\u00edvel acompanhar os alertas gerados.<\/span><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" data-attachment-id=\"8022\" data-permalink=\"https:\/\/blog.botcity.dev\/pt-br\/2024\/04\/08\/alertas-rpa\/4-alert-task\/\" data-orig-file=\"https:\/\/blog.botcity.dev\/wp-content\/uploads\/2024\/04\/4-alert-task.png\" data-orig-size=\"1914,861\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"alert task\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/blog.botcity.dev\/wp-content\/uploads\/2024\/04\/4-alert-task-1024x461.png\" class=\"aligncenter wp-image-8022 size-full\" src=\"https:\/\/blog.botcity.dev\/wp-content\/uploads\/2024\/04\/4-alert-task.png\" alt=\"Print da tela de tarefa com a aba alerts selecionada mostrando dois tipos de alerta: INFO e ERROR expandidos.\" width=\"1914\" height=\"861\" srcset=\"https:\/\/blog.botcity.dev\/wp-content\/uploads\/2024\/04\/4-alert-task.png 1914w, https:\/\/blog.botcity.dev\/wp-content\/uploads\/2024\/04\/4-alert-task-300x135.png 300w, https:\/\/blog.botcity.dev\/wp-content\/uploads\/2024\/04\/4-alert-task-1024x461.png 1024w, https:\/\/blog.botcity.dev\/wp-content\/uploads\/2024\/04\/4-alert-task-1536x691.png 1536w, https:\/\/blog.botcity.dev\/wp-content\/uploads\/2024\/04\/4-alert-task-1200x540.png 1200w\" sizes=\"auto, (max-width: 1914px) 100vw, 1914px\" \/><\/p>\n<p><span style=\"font-weight: 400;\">Para expandir ou fechar o alerta, basta clicar em cima dele para ter acesso aos detalhes mostrados no exemplo do print acima.<\/span><\/p>\n<h3><span style=\"font-weight: 400;\">Gerenciar alertas pela tela de Alerts<\/span><\/h3>\n<p><span style=\"font-weight: 400;\">No menu da lateral esquerda, dentro da categoria \u201cAutomation Control\u201d, identifique o item \u201cAlerts\u201d e clique nele. Voc\u00ea ter\u00e1 acesso aos alertas de diferentes automa\u00e7\u00f5es. Para facilitar, utilize o filtro com as informa\u00e7\u00f5es necess\u00e1rias.<\/span><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" data-attachment-id=\"8024\" data-permalink=\"https:\/\/blog.botcity.dev\/pt-br\/2024\/04\/08\/alertas-rpa\/5-alert-screen\/\" data-orig-file=\"https:\/\/blog.botcity.dev\/wp-content\/uploads\/2024\/04\/5-alert-screen.png\" data-orig-size=\"1913,861\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"alert screen\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/blog.botcity.dev\/wp-content\/uploads\/2024\/04\/5-alert-screen-1024x461.png\" class=\"aligncenter wp-image-8024 size-full\" src=\"https:\/\/blog.botcity.dev\/wp-content\/uploads\/2024\/04\/5-alert-screen.png\" alt=\"Print da tela de Alerts do Orquestrador.\" width=\"1913\" height=\"861\" srcset=\"https:\/\/blog.botcity.dev\/wp-content\/uploads\/2024\/04\/5-alert-screen.png 1913w, https:\/\/blog.botcity.dev\/wp-content\/uploads\/2024\/04\/5-alert-screen-300x135.png 300w, https:\/\/blog.botcity.dev\/wp-content\/uploads\/2024\/04\/5-alert-screen-1024x461.png 1024w, https:\/\/blog.botcity.dev\/wp-content\/uploads\/2024\/04\/5-alert-screen-1536x691.png 1536w, https:\/\/blog.botcity.dev\/wp-content\/uploads\/2024\/04\/5-alert-screen-1200x540.png 1200w\" sizes=\"auto, (max-width: 1913px) 100vw, 1913px\" \/><\/p>\n<p><span style=\"font-weight: 400;\">Para expandir ou fechar o alerta, basta clicar em cima dele para ter acesso aos detalhes mostrados no exemplo do print acima.<\/span><\/p>\n<h2><span style=\"font-weight: 400;\">Quer testar as funcionalidades de alertas?<\/span><\/h2>\n<p><span style=\"font-weight: 400;\">Para fazer na pr\u00e1tica tudo o que compartilhamos, voc\u00ea pode <\/span><a href=\"https:\/\/developers.botcity.dev\/signup\"><span style=\"font-weight: 400;\">criar a sua conta gratuita<\/span><\/a><span style=\"font-weight: 400;\">, seguir o passo a passo e aproveitar para testar no seu caso de uso esse gerenciamento de erros. E participe da nossa <\/span><a href=\"https:\/\/documentation.botcity.dev\/community\"><span style=\"font-weight: 400;\">comunidade<\/span><\/a><span style=\"font-weight: 400;\"> para troca de experi\u00eancias sobre o universo da automa\u00e7\u00e3o RPA.<\/span><\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Gerenciamento de alertas para automa\u00e7\u00e3o \u00e9 uma chave importante para uma comunica\u00e7\u00e3o mais efetiva entre as pessoas stakeholders. Al\u00e9m de monitorar os erros e gerenciar os logs que s\u00e3o essenciais para orquestrar seus rob\u00f4s, os alertas podem garantir que o seu time saiba o que est\u00e1 acontecendo, seja antes, durante ou depois da execu\u00e7\u00e3o de<\/p>\n","protected":false},"author":214060721,"featured_media":8033,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_wpcom_ai_launchpad_first_post":false,"_jetpack_feature_clip_id":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"{title}\n\n{excerpt}\n\n{url}","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"_wpas_customize_per_network":false,"jetpack_post_was_ever_published":false},"categories":[773019],"tags":[],"class_list":["post-8012","post","type-post","status-publish","format-standard","has-post-thumbnail","category-nao-categorizado"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.0 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Alertas para automa\u00e7\u00e3o Python RPA<\/title>\n<meta name=\"description\" content=\"Neste artigo veremos como gerenciar alertas para automa\u00e7\u00e3o Python RPA, proporcionando uma comunica\u00e7\u00e3o eficaz para os times envolvidos.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/blog.botcity.dev\/pt-br\/2024\/04\/08\/alertas-rpa\/\" \/>\n<meta property=\"og:locale\" content=\"pt_BR\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Alertas para automa\u00e7\u00e3o Python RPA\" \/>\n<meta property=\"og:description\" content=\"Neste artigo veremos como gerenciar alertas para automa\u00e7\u00e3o Python RPA, proporcionando uma comunica\u00e7\u00e3o eficaz para os times envolvidos.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/blog.botcity.dev\/pt-br\/2024\/04\/08\/alertas-rpa\/\" \/>\n<meta property=\"og:site_name\" content=\"Blog BotCity - Conte\u00fado para Automa\u00e7\u00e3o e Governan\u00e7a\" \/>\n<meta property=\"article:published_time\" content=\"2024-04-08T22:50:42+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/blog.botcity.dev\/wp-content\/uploads\/2024\/04\/capas-3-1.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1400\" \/>\n\t<meta property=\"og:image:height\" content=\"800\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Lorhan Caproni\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Escrito por\" \/>\n\t<meta name=\"twitter:data1\" content=\"Lorhan Caproni\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. tempo de leitura\" \/>\n\t<meta name=\"twitter:data2\" content=\"5 minutos\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/blog.botcity.dev\\\/pt-br\\\/2024\\\/04\\\/08\\\/alertas-rpa\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/blog.botcity.dev\\\/pt-br\\\/2024\\\/04\\\/08\\\/alertas-rpa\\\/\"},\"author\":{\"name\":\"Lorhan Caproni\",\"@id\":\"https:\\\/\\\/blog.botcity.dev\\\/pt-br\\\/#\\\/schema\\\/person\\\/c70dcd8d50fca4702dc06ce662e0f111\"},\"headline\":\"Gerenciamento de alertas para automa\u00e7\u00e3o Python RPA\",\"datePublished\":\"2024-04-08T22:50:42+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/blog.botcity.dev\\\/pt-br\\\/2024\\\/04\\\/08\\\/alertas-rpa\\\/\"},\"wordCount\":864,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/blog.botcity.dev\\\/pt-br\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/blog.botcity.dev\\\/pt-br\\\/2024\\\/04\\\/08\\\/alertas-rpa\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/blog.botcity.dev\\\/wp-content\\\/uploads\\\/2024\\\/04\\\/capas-3-1.png\",\"articleSection\":[\"N\u00e3o categorizado\"],\"inLanguage\":\"pt-BR\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/blog.botcity.dev\\\/pt-br\\\/2024\\\/04\\\/08\\\/alertas-rpa\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/blog.botcity.dev\\\/pt-br\\\/2024\\\/04\\\/08\\\/alertas-rpa\\\/\",\"url\":\"https:\\\/\\\/blog.botcity.dev\\\/pt-br\\\/2024\\\/04\\\/08\\\/alertas-rpa\\\/\",\"name\":\"Alertas para automa\u00e7\u00e3o Python RPA\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/blog.botcity.dev\\\/pt-br\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/blog.botcity.dev\\\/pt-br\\\/2024\\\/04\\\/08\\\/alertas-rpa\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/blog.botcity.dev\\\/pt-br\\\/2024\\\/04\\\/08\\\/alertas-rpa\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/blog.botcity.dev\\\/wp-content\\\/uploads\\\/2024\\\/04\\\/capas-3-1.png\",\"datePublished\":\"2024-04-08T22:50:42+00:00\",\"description\":\"Neste artigo veremos como gerenciar alertas para automa\u00e7\u00e3o Python RPA, proporcionando uma comunica\u00e7\u00e3o eficaz para os times envolvidos.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/blog.botcity.dev\\\/pt-br\\\/2024\\\/04\\\/08\\\/alertas-rpa\\\/#breadcrumb\"},\"inLanguage\":\"pt-BR\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/blog.botcity.dev\\\/pt-br\\\/2024\\\/04\\\/08\\\/alertas-rpa\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"pt-BR\",\"@id\":\"https:\\\/\\\/blog.botcity.dev\\\/pt-br\\\/2024\\\/04\\\/08\\\/alertas-rpa\\\/#primaryimage\",\"url\":\"https:\\\/\\\/blog.botcity.dev\\\/wp-content\\\/uploads\\\/2024\\\/04\\\/capas-3-1.png\",\"contentUrl\":\"https:\\\/\\\/blog.botcity.dev\\\/wp-content\\\/uploads\\\/2024\\\/04\\\/capas-3-1.png\",\"width\":1400,\"height\":800,\"caption\":\"capa do artigo com s\u00edmbolos de alerta\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/blog.botcity.dev\\\/pt-br\\\/2024\\\/04\\\/08\\\/alertas-rpa\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/blog.botcity.dev\\\/pt-br\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Gerenciamento de alertas para automa\u00e7\u00e3o Python RPA\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/blog.botcity.dev\\\/pt-br\\\/#website\",\"url\":\"https:\\\/\\\/blog.botcity.dev\\\/pt-br\\\/\",\"name\":\"Blog BotCity\",\"description\":\"Explore o blog BotCity com conte\u00fados para automatizar e governar em Python. Mantenha-se informado e melhore o desempenho tecnol\u00f3gico, a seguran\u00e7a e o ROI da sua empresa.\",\"publisher\":{\"@id\":\"https:\\\/\\\/blog.botcity.dev\\\/pt-br\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/blog.botcity.dev\\\/pt-br\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"pt-BR\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/blog.botcity.dev\\\/pt-br\\\/#organization\",\"name\":\"BotCity\",\"url\":\"https:\\\/\\\/blog.botcity.dev\\\/pt-br\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"pt-BR\",\"@id\":\"https:\\\/\\\/blog.botcity.dev\\\/pt-br\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"http:\\\/\\\/blog.botcity.dev\\\/wp-content\\\/uploads\\\/2025\\\/09\\\/logo_botcity_2024_black.png\",\"contentUrl\":\"http:\\\/\\\/blog.botcity.dev\\\/wp-content\\\/uploads\\\/2025\\\/09\\\/logo_botcity_2024_black.png\",\"width\":1611,\"height\":384,\"caption\":\"BotCity\"},\"image\":{\"@id\":\"https:\\\/\\\/blog.botcity.dev\\\/pt-br\\\/#\\\/schema\\\/logo\\\/image\\\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/blog.botcity.dev\\\/pt-br\\\/#\\\/schema\\\/person\\\/c70dcd8d50fca4702dc06ce662e0f111\",\"name\":\"Lorhan Caproni\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"pt-BR\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/a4f02f5e361046d8a6d852df16da98ddff27755dc746d7151c3b577231cbf3ba?s=96&d=identicon&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/a4f02f5e361046d8a6d852df16da98ddff27755dc746d7151c3b577231cbf3ba?s=96&d=identicon&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/a4f02f5e361046d8a6d852df16da98ddff27755dc746d7151c3b577231cbf3ba?s=96&d=identicon&r=g\",\"caption\":\"Lorhan Caproni\"},\"description\":\"BotCity Cofounder and CEO\",\"sameAs\":[\"http:\\\/\\\/botcitydev.wordpress.com\"],\"url\":\"https:\\\/\\\/blog.botcity.dev\\\/pt-br\\\/author\\\/lorhanb8c3fbc9af\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Alertas para automa\u00e7\u00e3o Python RPA","description":"Neste artigo veremos como gerenciar alertas para automa\u00e7\u00e3o Python RPA, proporcionando uma comunica\u00e7\u00e3o eficaz para os times envolvidos.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/blog.botcity.dev\/pt-br\/2024\/04\/08\/alertas-rpa\/","og_locale":"pt_BR","og_type":"article","og_title":"Alertas para automa\u00e7\u00e3o Python RPA","og_description":"Neste artigo veremos como gerenciar alertas para automa\u00e7\u00e3o Python RPA, proporcionando uma comunica\u00e7\u00e3o eficaz para os times envolvidos.","og_url":"https:\/\/blog.botcity.dev\/pt-br\/2024\/04\/08\/alertas-rpa\/","og_site_name":"Blog BotCity - Conte\u00fado para Automa\u00e7\u00e3o e Governan\u00e7a","article_published_time":"2024-04-08T22:50:42+00:00","og_image":[{"width":1400,"height":800,"url":"https:\/\/blog.botcity.dev\/wp-content\/uploads\/2024\/04\/capas-3-1.png","type":"image\/png"}],"author":"Lorhan Caproni","twitter_card":"summary_large_image","twitter_misc":{"Escrito por":"Lorhan Caproni","Est. tempo de leitura":"5 minutos"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/blog.botcity.dev\/pt-br\/2024\/04\/08\/alertas-rpa\/#article","isPartOf":{"@id":"https:\/\/blog.botcity.dev\/pt-br\/2024\/04\/08\/alertas-rpa\/"},"author":{"name":"Lorhan Caproni","@id":"https:\/\/blog.botcity.dev\/pt-br\/#\/schema\/person\/c70dcd8d50fca4702dc06ce662e0f111"},"headline":"Gerenciamento de alertas para automa\u00e7\u00e3o Python RPA","datePublished":"2024-04-08T22:50:42+00:00","mainEntityOfPage":{"@id":"https:\/\/blog.botcity.dev\/pt-br\/2024\/04\/08\/alertas-rpa\/"},"wordCount":864,"commentCount":0,"publisher":{"@id":"https:\/\/blog.botcity.dev\/pt-br\/#organization"},"image":{"@id":"https:\/\/blog.botcity.dev\/pt-br\/2024\/04\/08\/alertas-rpa\/#primaryimage"},"thumbnailUrl":"https:\/\/blog.botcity.dev\/wp-content\/uploads\/2024\/04\/capas-3-1.png","articleSection":["N\u00e3o categorizado"],"inLanguage":"pt-BR","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/blog.botcity.dev\/pt-br\/2024\/04\/08\/alertas-rpa\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/blog.botcity.dev\/pt-br\/2024\/04\/08\/alertas-rpa\/","url":"https:\/\/blog.botcity.dev\/pt-br\/2024\/04\/08\/alertas-rpa\/","name":"Alertas para automa\u00e7\u00e3o Python RPA","isPartOf":{"@id":"https:\/\/blog.botcity.dev\/pt-br\/#website"},"primaryImageOfPage":{"@id":"https:\/\/blog.botcity.dev\/pt-br\/2024\/04\/08\/alertas-rpa\/#primaryimage"},"image":{"@id":"https:\/\/blog.botcity.dev\/pt-br\/2024\/04\/08\/alertas-rpa\/#primaryimage"},"thumbnailUrl":"https:\/\/blog.botcity.dev\/wp-content\/uploads\/2024\/04\/capas-3-1.png","datePublished":"2024-04-08T22:50:42+00:00","description":"Neste artigo veremos como gerenciar alertas para automa\u00e7\u00e3o Python RPA, proporcionando uma comunica\u00e7\u00e3o eficaz para os times envolvidos.","breadcrumb":{"@id":"https:\/\/blog.botcity.dev\/pt-br\/2024\/04\/08\/alertas-rpa\/#breadcrumb"},"inLanguage":"pt-BR","potentialAction":[{"@type":"ReadAction","target":["https:\/\/blog.botcity.dev\/pt-br\/2024\/04\/08\/alertas-rpa\/"]}]},{"@type":"ImageObject","inLanguage":"pt-BR","@id":"https:\/\/blog.botcity.dev\/pt-br\/2024\/04\/08\/alertas-rpa\/#primaryimage","url":"https:\/\/blog.botcity.dev\/wp-content\/uploads\/2024\/04\/capas-3-1.png","contentUrl":"https:\/\/blog.botcity.dev\/wp-content\/uploads\/2024\/04\/capas-3-1.png","width":1400,"height":800,"caption":"capa do artigo com s\u00edmbolos de alerta"},{"@type":"BreadcrumbList","@id":"https:\/\/blog.botcity.dev\/pt-br\/2024\/04\/08\/alertas-rpa\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/blog.botcity.dev\/pt-br\/"},{"@type":"ListItem","position":2,"name":"Gerenciamento de alertas para automa\u00e7\u00e3o Python RPA"}]},{"@type":"WebSite","@id":"https:\/\/blog.botcity.dev\/pt-br\/#website","url":"https:\/\/blog.botcity.dev\/pt-br\/","name":"Blog BotCity","description":"Explore o blog BotCity com conte\u00fados para automatizar e governar em Python. Mantenha-se informado e melhore o desempenho tecnol\u00f3gico, a seguran\u00e7a e o ROI da sua empresa.","publisher":{"@id":"https:\/\/blog.botcity.dev\/pt-br\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/blog.botcity.dev\/pt-br\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"pt-BR"},{"@type":"Organization","@id":"https:\/\/blog.botcity.dev\/pt-br\/#organization","name":"BotCity","url":"https:\/\/blog.botcity.dev\/pt-br\/","logo":{"@type":"ImageObject","inLanguage":"pt-BR","@id":"https:\/\/blog.botcity.dev\/pt-br\/#\/schema\/logo\/image\/","url":"http:\/\/blog.botcity.dev\/wp-content\/uploads\/2025\/09\/logo_botcity_2024_black.png","contentUrl":"http:\/\/blog.botcity.dev\/wp-content\/uploads\/2025\/09\/logo_botcity_2024_black.png","width":1611,"height":384,"caption":"BotCity"},"image":{"@id":"https:\/\/blog.botcity.dev\/pt-br\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/blog.botcity.dev\/pt-br\/#\/schema\/person\/c70dcd8d50fca4702dc06ce662e0f111","name":"Lorhan Caproni","image":{"@type":"ImageObject","inLanguage":"pt-BR","@id":"https:\/\/secure.gravatar.com\/avatar\/a4f02f5e361046d8a6d852df16da98ddff27755dc746d7151c3b577231cbf3ba?s=96&d=identicon&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/a4f02f5e361046d8a6d852df16da98ddff27755dc746d7151c3b577231cbf3ba?s=96&d=identicon&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/a4f02f5e361046d8a6d852df16da98ddff27755dc746d7151c3b577231cbf3ba?s=96&d=identicon&r=g","caption":"Lorhan Caproni"},"description":"BotCity Cofounder and CEO","sameAs":["http:\/\/botcitydev.wordpress.com"],"url":"https:\/\/blog.botcity.dev\/pt-br\/author\/lorhanb8c3fbc9af\/"}]}},"jetpack_publicize_connections":[],"jetpack_featured_media_url":"https:\/\/blog.botcity.dev\/wp-content\/uploads\/2024\/04\/capas-3-1.png","jetpack_likes_enabled":true,"jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/pdx8c3-25e","_links":{"self":[{"href":"https:\/\/blog.botcity.dev\/pt-br\/wp-json\/wp\/v2\/posts\/8012","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.botcity.dev\/pt-br\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.botcity.dev\/pt-br\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.botcity.dev\/pt-br\/wp-json\/wp\/v2\/users\/214060721"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.botcity.dev\/pt-br\/wp-json\/wp\/v2\/comments?post=8012"}],"version-history":[{"count":9,"href":"https:\/\/blog.botcity.dev\/pt-br\/wp-json\/wp\/v2\/posts\/8012\/revisions"}],"predecessor-version":[{"id":8035,"href":"https:\/\/blog.botcity.dev\/pt-br\/wp-json\/wp\/v2\/posts\/8012\/revisions\/8035"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/blog.botcity.dev\/pt-br\/wp-json\/wp\/v2\/media\/8033"}],"wp:attachment":[{"href":"https:\/\/blog.botcity.dev\/pt-br\/wp-json\/wp\/v2\/media?parent=8012"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.botcity.dev\/pt-br\/wp-json\/wp\/v2\/categories?post=8012"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.botcity.dev\/pt-br\/wp-json\/wp\/v2\/tags?post=8012"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}