New feature! Webhooks for RFQ’s

Webhooks for RFQ – New feature!

Instead of manually saving data in your CRM about RFQ’s or other data, you can use Automa.Net webhooks to get information about new RFQs directly to your system.

What is a webhook?

Webhooks (also called a web callback or HTTP push API) are user-defined HTTP callbacks typically triggered by an event. Webhooks are a more efficient way instead of calling frequently to API to get new data because data is provided in real-time.

When to use webhooks?

Use webhooks to integrate your application with portal.automa.net, for instance, save all received RFQ in your CRM instead of manually copying data from emails.

Events and objects:

At this point we provide the following objects and actions:

ObjectActionDescription
rfqcreatedThe webhook triggered just after when somebody sends RFQ to you for your part

How to use webhooks for RFQ’s ?

To get started, please send mail to [email protected] with the following information:

Company’s Name: The company name for what you want to enable webhook.

Callback URL: The URL which will be triggered by automa.net when an event occurs. (e.g. https://YourCompany.comt/webhooks/rfq)

Use Case Description: Give us information about how you want to use this feature. (e.g. To save information in our CRM)

Example request:

Automa.Net will send an HTTP POST request(s) to the callback URL(s) specified, every time that event occurs.

When an event occurs, the webhook specified will attempt 5 times, to stop calling a request needs a response with the status “200-204”. 

We are waiting for your response for 3 seconds, so make sure that your callback will be able to respond at this time.


Headers:

  • Content-Type: application/json
  • User-Agent: automa.net/1.0
  • HTTP_AUTOMA_NET_SIGNATURE: xxxxxxx – A signature will be provided in the reply email, it is important to check this header correctness when request doing to make sure that request has been sent by our service.

Body:

{
   "meta":{
      "webhook_id":3,
      "timestamp":1629825338,
      "event":{
         "object":"rfq",
         "action":"created"
      }
   },
   "current":{
      "requester":{
         "user":{
            "first_name":"xxx",
            "last_name":"xxx",
            "email":"[email protected]",
            "phone":"+48123123123"
         },
         "company":{
            "name":"xxx",
            "phone":"+48123123123",
            "email":"[email protected]",
            "address":{
               "line_1":"xxx",
               "line_2":"xxx",
               "city":"xxx",
               "post_code":"xxx",
               "country_name":"xxx"
            },
            "website_url":"https://www.domain.com",
            "webshop_url":"https://www.domain.com",
            "eu_vat_id":{
               "code":"PL",
               "number":"123123123"
            },
            "company_number":"123123123"
         }
      },
      "items":[
         {
            "part_number":"6GK5005-0BA00-1AB2",
            "brand":"Siemens",
            "product_condition":"New",
            "quantity":4
         }
      ],
      "delivery_time":"xxx",
      "note":"xxx",
      "created_at":1629825338
   }
}

Any questions? Please contact [email protected]