fleet icon indicating copy to clipboard operation
fleet copied to clipboard

Ticket destination - Notion

Open guy-tallon opened this issue 3 years ago • 4 comments

Goal

TODO Add Notion to the Ticket destination integration

Context

TODO

  • We and I'm sure many others use Notion instead of Atlassian for Tickets etc.
  • Only Jira and Zendesk are available.
  • I've not tried to do a work around, not sure what a good one would be. Just sending a Webhook to Zapier which could then create a database item might work. Though you need the Premium Tier for that option.

Potential solutions

  1. Notion allow you to create a custom integration -> Which generates and API key for Auth -> Then the custom app can be added auto a database with the permissions to add to it
  2. It would be nice to read and then map to the properties of the database

guy-tallon avatar Jul 03 '23 16:07 guy-tallon

Hi @furby, nice one! (TIL Notion has tickets)

Fleet has a lot of features to prioritize between, but this doesn't sound too hard. Contributions welcome if anyone has time for a PR.

In the meantime, pointing the ticket webhooks at Notion (intermediating through Zapier or Tines if necessary) works as a solution. Happy to help set that up if you have a few minutes.

mikermcneil avatar Jul 04 '23 22:07 mikermcneil

Hi @mikermcneil , Yes, they call them Tasks but essentially the same thing https://www.notion.so/product/projects

If I end up paying for Zapier Premium I'll let you know 😄 Happy to take this to Slack but I'll just list this out as I don't code (or at least never in go)

User Journey

  1. Generate API Key Notion integrations
  2. Create a Database in Notion (or use an existing one)
  3. Add the integration to the database - + Connection is the Notion terminology
  4. Get the database_id
  5. Perhaps be able to map some of the properties, like status or who it's assigned to. Probably not that important but it would be nice to have.

Sever side

  1. Patch the Database, effectively adding a new task/ticket PATCH 'https://api.notion.com/v1/databases/<datavase_id>

So easy, just 1 steps. Ha!

guy-tallon avatar Jul 05 '23 12:07 guy-tallon

So easy, just 1 steps. Ha! 😆

I'll bring this to "Feature fest" on your behalf. (Will be awesome when we are able to make some time to make those meetings public and live on youtube! @zhumo @JoStableford)

In the meantime, I'll bring this to "Feature fest" for you @furby

If I end up paying for Zapier Premium I'll let you know 😄

PS. I pay for Zapier myself -- worth it for the easiness -- but If you need a free alternative you can deploy yourself: https://github.com/mikermcneil/hydroplane It's DEF quick and dirty. You'll want to edit your code in a text editor and paste it back in each time so you don't accidentally mess it up (yeah, it's that rough 😆 Kind of a 2h weekend project thing) Anyway we use it to save money with Zapier so you don't have all those formatting steps.

mikermcneil avatar Jul 05 '23 15:07 mikermcneil

Nice! Thank you

Also you've made me double check and I do have Webhooks! How did I not notice that, I'm on a paid plan as well 🙃 I'll see if I can build out a workflow

guy-tallon avatar Jul 05 '23 16:07 guy-tallon