Zapier Integration - Use the Description field as hyperlink/preview link
CompletedHi,
I'm using Zapier to send a Generic Event to an Nx Server. Zapier is connected to an Nx Cloud account that can access the specific Nx Server and proxy the HTTP Generic Event.
I'm trying to figure out how can I use the Description field to achieve a link to preview the Event in Nx Client under Event Rules:
When I click the Description text "Intrusion has been detected" the camera pops on the Nx Client with the playback of the event (just to the specific timestamp I guess).
This photo is from an old configuration that no longer exists and I'm trying to figure out how to do it.
What would be the best way to achieve this?
Can it be done through Zapier? Or only through Nx Cloud API or the Nx Server API
Through Zapier I don't need to deal with Nx Cloud authentication (which I didn't find the documentation for) and using Nx Server API means I need to forward the Server port.
I tried also the following HTML format in the description:
The result in Nx is:
But it opens a web page to view the event and not the event in Nx Client.
I tried to look for the solutions through the forum but nothing works.
Any ideas?
-
Hi Omer,
I'm using Zapier to send a Generic Event to an Nx Server. Zapier is connected to an Nx Cloud account that can access the specific Nx Server and proxy the HTTP Generic Event.
I'm trying to figure out how can I use the Description field to achieve a link to preview the Event in Nx Client under Event Rules:
First of all, that's not a generic event at your screenshot. Your screenshot shows analytic event rule.
If you want to have event preview in notification message you need to link generic event to a specific camera by adding cameraRefs parameter to the metadata field:
https://<server IP>:7001/api/createEvent?source=<something>&caption=<something>&description=<something>&metadata={"cameraRefs":["34bac00c-23a3-200d-51e6-ee4e742b34a8"]}
This way, event notification will include preview from camera with id 34bac00c-23a3-200d-51e6-ee4e742b34a8.
Please sign in to leave a comment.
Comments
1 comment