jupyter-naas / chrome-extension

Boost productivity with Naas Chrome Extension, your AI-powered assistant for analytics and automation.

Home Page:https://naas.ai

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Chrome Extension - Data in payload not sent to notebook

FlorentLvr opened this issue · comments

Test:

  • Create notebook in naas
  • Push webhook to production
  • Create json to copy/paste in options
import naas
import json

notebook_path = ""
webhook_name = ""
webhook_link = naas.webhook.add(notebook_path)

obj = [
  {
    "name": webhook_name,
    "action": {
      "url": webhook_link,
      "payload": "%s"
    }
  },
]
print(json.dumps(obj, indent=2))
  • Send "Test" in payload

image

image