Introduction & Previous Concepts
In the system is possible to notify certain events to a channel. If you don’t have added any notification channels please check out this document How to create a notification channel
Procedure
In the menu, go to Integrations.
Click on Configuration in the System Notifications card.
You will see a list of 8 notification events.
Order completed: It gets triggered when a successful order is closed. In admin, quote or shop sells it happens in a successful purchase. In funnels, it happens when a user reaches the thank you page or after 30 minutes after the first purchase in a funnel page (this is to avoid the scenario when a customer purchases but never goes to the thank you page).
Contact created: Is called when a lead is created/reactivated in the system.
Shipping tracking info updated: It happens when we updated the tracking information of an order.
Product conflicts: Called when a product conflict occurs (a customer who purchased a digital product that he already has).
Transaction declined: When a purchase transaction gets rejected in the system. Because this is at the transaction level (in funnels an order can have many transactions if upsells are involved), this event could be triggered many times inside a funnel purchase. For example, the cart page sale was approved but all the next upsells were declined due to insufficient funds.
Refund applied: When a refund/void occurs.
Subscription canceled: When a subscription gets canceled.
Approved transaction: When a purchase transaction succeeds in the system. Because this is at the transaction level (in funnels an order can have many transactions if upsells are involved), this event could be triggered many times inside a funnel purchase. For example, the cart page sale was approved and all of the next upsells were also purchased.
If the event you want to use is disabled, enable it by toggling the switch on its right. On the contrary, if currently enabled, click over the event name.
You will see a list of the current channels added to this event (the list will be empty if no channels were attached previously).
Click on the bottom right button to attach a channel.
You will see a form with these fields:
Channel: You can select one of your channels created before. If don't have any, click on the Add button on the right, if you need to add a new channel please read this document first How to create a notification channel
Sources: We have 3 sources: Admin, Shop, and Funnel. Every contact, order, and subscription is related to one of these 3. You can specify if you want to notify only if the event happened on some specific sources.
Click on save and you will see that the channel was successfully linked to the event.
If you click on the 3 vertical dots on the right, you will see two options available:
Edit: Here you are able to update the sources.
Delete: You can remove the channel to being notified of this event.
Postback payloads
Here will show you some examples of payloads that you can receive when notifying postback channels.
This is only a reference, in some values that are objects you could receive null. For example, admin orders don’t have a funnel, you would receive a null value on the funnel key. If you need to access an object property in your end validate that such prop is not null first.
Best Result
Your channel will be added/updated/removed successfully.
Worst Result
The application will throw an Error and you will need to check if the data is not corrupted.
If after checking this you still have an error please contact support@webforcehq.com