Notion and iOS Shortcuts - Add Item To Database using the API

Поделиться
HTML-код
  • Опубликовано: 28 июл 2021
  • Simple way to add items to database in Notion, using iOS Shortcuts.
    Prepare the base:
    1. Get Integration Token from “API USER” : www.notion.com/my-integrations
    2. Share database to Integreation user
    3. Get The Database ID from address bar or from Share-link
    URL to target: api.notion.com/v1/pages
    Headers for URL call (remember to set to POST):
    Authorization : Bearer INTEGREATIONKEY
    Notion-Version: 2021-05-13
    Content-Type : application/json
    JSON
    {"parent": { "database_id": "ID" },
    "properties": {"Name" : {"title" : [{"text": {"content": "Lorem"}}] }}}
    The “Lorem” part is what is added to the base “Name” is the actual name of the Title properties in the database.

Комментарии • 53

  • @GeorgeAtanassov
    @GeorgeAtanassov 9 месяцев назад +6

    Summary: Great video but needs a bit of an update ;).
    Hey,
    Thank you for taking the time to make this video. Very helpful.
    However I think this video needs to update a bit. The way to share a database to an integration has changed.
    As of writing one has to go to the database (page) click the three doted menu and then select connections. From there one can pick the integration one has made.
    Hope this helps.

  • @madmaxmedia
    @madmaxmedia 2 года назад +9

    Thank you so much for this! Also, by using a 'Dictate text' action instead of 'Ask for text', you can create an alternate shortcut that allows you to dictate the new Notion item. By setting the dictate action to stop listening 'After Pause', it further minimizes your interaction with the phone. Just activate the shortcut and dictate your note. When you stop dictating, the shortcut will stop recording and transcribing, and create a new Notion item with the transcription. I find both versions are very handy depending on what I'm doing at the time.

  • @djhp1990
    @djhp1990 Год назад +21

    I manage everything but the Integration doesn't show up in the share options. I found an article that helped. The share step you describe at 1:56 is a bit different for newer versions: Navigate to the page in question and click the ••• button on top right.
    At the bottom of the pop-up, click Add connections.
    In the resulting pop-up, search for and select the connection you would like to add to this page. You'll only see connections that have been created for and associated with this workspace.

  • @esbenablack
    @esbenablack 3 года назад +2

    Great video!
    Concise and well explained.

  • @athanasiosdestanis1333
    @athanasiosdestanis1333 2 года назад +8

    hi jon, thx for the tutorial, it is a big help for me. can you show us retards how to expand this shortcut for filling in multiple properties in a notion database? would be much appreciated.

  • @TheOrsonLord
    @TheOrsonLord Год назад

    PLEASE MAKE MORE, this is great!

  • @Grabster
    @Grabster 9 месяцев назад

    I'm new to mac and using shortcuts. i wasnt able to figure out how to use the notion API in it. This is so helpful. Thank you!

  • @AliTasOfficial
    @AliTasOfficial 2 года назад

    Extremely useful tutorial, thank you!

  • @Cheremisincouk
    @Cheremisincouk Год назад

    Awesome man! Thank you for your work! Will try to improve it to add some links o images.
    Keep on!

  • @spillledcarryout
    @spillledcarryout 2 года назад

    Thank you! Extremely practical.

  • @blobfish5034
    @blobfish5034 2 года назад

    This helped me greatly! Thanks!

  • @RunYourLuck
    @RunYourLuck 5 месяцев назад

    Would love to see more of this.

  • @rodkrebs9140
    @rodkrebs9140 2 года назад

    worked awesomely great!! Thanks

  • @nro337
    @nro337 3 года назад

    Great tutorial! Thank you!

  • @AJ-sp9gn
    @AJ-sp9gn 2 года назад

    Super helpful, thanks a ton!

  • @traceymonroe9026
    @traceymonroe9026 Год назад

    Thanks so much, this was exactly what I needed to build out a quick note.

  • @NakulKrishna
    @NakulKrishna 2 года назад

    great video, really appreciate this. If you can do more comprehensive examples of notion with shortcuts it would be awesome.

  • @projectkickass5989
    @projectkickass5989 2 года назад

    Really enjoyed this!

  • @RunYourLuck
    @RunYourLuck 5 месяцев назад

    This was great. Thank you so much.

  • @julieruthen9996
    @julieruthen9996 2 года назад

    More of this would be great

  • @justinvandervort7581
    @justinvandervort7581 2 года назад

    Awesome!! Thx a ton

  • @chiahuaw
    @chiahuaw 2 года назад

    It's work,thanks you!

  • @EduardoRodriguez-vm3pz
    @EduardoRodriguez-vm3pz Год назад

    Thanks a ton a year later. This was great

  • @kjarlin
    @kjarlin 2 года назад +3

    Thank you Jon - this was exactly what I needed. FYI - I did configure all of this on my cell phone and your tutorial even works when configured directly on the iPhone.

    • @YelCan
      @YelCan 2 года назад

      Same - And I don't know much. Since I didn't scroll this page, I typed everything on the iPhone. Works! Superb teaching video. TY 👏 .
      I would love to know how to modify it to create a titled Page and input text in a Text Property.

    • @kjarlin
      @kjarlin 2 года назад +1

      @@YelCan A bit more of where I'm at these days on this - I have the shortcut on my iPhone - when I press the Siri button or say Hey Siri - I simply say "Brain" and she asked me what's the text. I tell her and she says Ok. In Notion I have a new database that it a list and all items get dumped into that list, then I have that list filtered to remove what is checked as done. That database is linked to my weekly planner template and so each week when I create a new weekly planner page my to do list follows me.

  • @victorwongyk
    @victorwongyk 2 года назад +5

    AMAZING. Thanks for the super simple tutorial.
    Will "Notion-Version" ever change?.. Would this be something to keep in mind as a possible future error?

  • @Cerics
    @Cerics 6 месяцев назад

    Thank you so much! I now tell Siri "Jot this down" and she sends it to my Notion.

  • @edwardsuhadi1
    @edwardsuhadi1 Год назад

    Thank you so much

  • @benkates
    @benkates Год назад

    Great stuff. 2023 NOTE: Recently they moved the place to select an integration in a database from the "Share" section to the ... in the upper right hand corner and down to "Connections" - cheers!

  • @dukhovska
    @dukhovska 2 года назад

    Thank you for the great tutorial!
    Where can I read more about JSON shown at 3:19 ?

  • @amadomax
    @amadomax Год назад

    Hi.., awesome video, thanks for sharing, would you please explain how to update the shortcut so when open a file and use the share sheet and choose the shortcut, it gets all the described information but also get the file it self and save it to the corresponding column titled "Files & media" in Notion database within the same row of the collected information.. Thanks in advance

  • @adrien7805
    @adrien7805 2 года назад

    Hello,
    Thank you for sharing.
    I followed your method and it worked great! Thank you.
    However, I have a question.
    How do I add other columns to my Notion database and register it in the "properties" of the text file in the Shortcuts application.
    In particular, if I want to include a "tags" column. What is the syntax for including such a column?
    Thank you for your reply.
    Cordially
    Adrian

  • @jth
    @jth 2 года назад

    Great video thank you! So helpful. I have it working but wondering if there’s a way to add a due date (I have a column “due”) and tried adding the following code after the “Name” in properties section but I clearly made an error!
    , {"Due Date" :
    {"due" : [/*shortcuts current date*/]}
    }

  • @alexandretulet3735
    @alexandretulet3735 Год назад +3

    Should be a super great shortcut but I have the following error message. Even chat GPT can't help. Any idea? : {"status":400,"object":"error","code":"validation_error","message":"body failed validation: body.parent should be defined, instead was `undefined`."}

    • @simonoppelt2422
      @simonoppelt2422 6 месяцев назад

      You’re file type is set to json but you need file. At the get from block

  • @stevemorbey
    @stevemorbey Год назад

    Great video!
    Straight to the point, and very clear 👍

  • @skytrymylie
    @skytrymylie 11 месяцев назад

    Can we add multiple items at once?
    I need to make a todolist , and pass multiple task from shortcut to notion at once.

  • @AnjanOleti
    @AnjanOleti 2 года назад

    How to do this in windows and android?

  • @sergeyberezutskiy6829
    @sergeyberezutskiy6829 Год назад +2

    Is it possible to integrate Apple reminder in notion via shortcuts? Ex. I’m adding item to reminder, and shortcuts automatically added it notion

  • @mushroomthump
    @mushroomthump 2 года назад +2

    Not sure what I’m doing wrong. I followed all the steps and keep getting this error message: {"status":401,"object":"error","code":"unauthorized","message":"API token is invalid."}

    • @micaro84
      @micaro84 Год назад +1

      Did you found a solution? I’ve got the same error. 😢

    • @deirdzs
      @deirdzs Год назад

      @@micaro84 me too!

  • @dodger1x
    @dodger1x 2 года назад +1

    I`m just getting {"status":400," object" "error" "code" "invalid_json","me
    sage". "Error parsing JSON body."}

    • @nickcbet
      @nickcbet 2 года назад

      same

    • @dodger1x
      @dodger1x 2 года назад

      @@nickcbet
      {"parent": { "database_id": "Your database ID here" },
      "properties": {
      "Title" : {"title" : [{"text": {"content": "Your content here"}}] }
      }}

    • @1972Jozef
      @1972Jozef 2 года назад

      ruclips.net/video/EHdBHn960Ms/видео.html

    • @catswalking
      @catswalking 2 года назад

      @@dodger1x thank you, it works, any ideas to add one more variable? such as select (type of tasks)

  • @ashishrao3069
    @ashishrao3069 Год назад

    Great stuff