Action
Tana quick add
Steps
-
script
var credential = Credential.create("Tana", "Tana node API"); credential.addTextField("token", "Token"); var result = credential.authorize(); if (!result) { alert("Invalid token"); context.cancel("Invalid token"); } token = credential.getValue("token") const content = draft.content; const encodedContent = encodeURI(content) const httpTana = HTTP.create() const responseTana = httpTana.request({ "url": `https://europe-west1-tagr-prod.cloudfunctions.net/addToNode?note=${encodedContent}`, headers: { Authorization: "Bearer " + token, "Content-Type": "application/json", }, })
Options
-
After Success Archive , Tags: tana Notification Info Log Level Info
Items available in the Drafts Directory are uploaded by community members. Use appropriate caution reviewing downloaded items before use.