Outgoing Webhooks

by ,
Odoo          
v 12.0 Third Party 1

60.00 €

You bought this module and need support ? Click here !
Technical name base_automation_webhook
LicenseLGPL-3
Websitehttps://apps.odoo.com/apps/modules/12.0/base_automation_webhook/
Read description for v 11.0 v 10.0
Technical name base_automation_webhook
LicenseLGPL-3
Websitehttps://apps.odoo.com/apps/modules/12.0/base_automation_webhook/
Read description for v 11.0 v 10.0

Outgoing Webhooks

This simple module opens you a door for infinite integrations

Configure notifications in Telegram on important updates in Odoo. No extra module is needed! Check out the detailed instruction:

Configure GitHub integration. No extra module is needed! Check out the detailed instruction:

IFTTT is a hub for thousands services and IoT devices. With a special Webhooks service, you can connect Odoo with IFTTT. No extra module is needed! Check out the detailed instruction:

AWS is much more than just about cloud storage and servers. With AWS you can translate texts; send SMS; analyze text and documents; develop, test, and deploy Robots; predict the future; and even control your Satellites! All this can now be connected to Odoo without extra modules! Check out the detailed instruction:

Need more? Anything with webhook support can be connected to Odoo just with this module!

Buy Once, Use Forever!
As a buyer, you are granted to use the module in as many Odoo instances as you need!
Are you not not very much aware of webhooks?
You may send this page to your IT guys to evaluate the possibilities or tell us your concerns
Tested on Odoo
12.0 community
Tested on Odoo
12.0 enterprise

Outgoing Webhooks

  • Install this module in a usual way

Configuration

  • Activate Developer Mode

  • Open menu [[ Settings ]] >> Technical >> Automation >> Automated Actions

  • Create new record and set field Action To Do to Execute Python Code. For example:

    • Action Name: Test

    • Model: Contact

    • Trigger Condition: On Creation

    • Before Update Domain: Optional. You can specify a condition that must be satisfied before record is updated. The field may not be available depending on Trigger Condition value.

    • Action To Do: Execute Python Code

    • Apply on: Optional. You can specify a condition that must be satisfied before executing the Python Code.

    • Python Code:

      WEBHOOK="https://PASTE-YOUR-WEBHOOK-URL"
      data = {
          "partner_id": record.id,
          "partner_name": record.name,
      }
      requests.post(WEBHOOK, data)
      
    • Save everything

Usage

  • Make corresponding action (in our example, create new Contact)
  • RESULT: the event is notified via webhook

Handling field changing

If you need to call a webhook on updating specific field, do as following:

  • set Before Update Domain to a domain like [['FIELD', '!=', TARGET_VALUE]]
  • set Apply On to a domain like [['FIELD', '=', TARGET_VALUE]]

RESULT: webhook will be sent only when field value is changed to TARGET_VALUE.

Please log in to comment on this module

  • The author can leave a single reply to each comment.
  • This section is meant to ask simple questions or leave a rating. Every report of a problem experienced while using the module should be addressed to the author directly (refer to the following point).
  • If you want to start a discussion with the author or have a question related to your purchase, please use the support page.