Skip to main content
Best answer

How can I use an existing Notion template with variables in a "Create New Database Item" action?


Hi all,

 

I’m running a notion action step.

The event I’m triggering is “Create New Database Item” For content, is there a way to plug-in an existing template I made on Notion & plug-in variables into that template?

 

Thanks!

Best answer by Blue Horizon

Troy Tessalone wrote:

Hi @Blue Horizon 

Good question.

If the ability to select an existing template is not available, then you may have to explore using the Notion API.

Try using this Zap action: Notion - App Extensions

This has an AI assist.

 

Really Helpful! Thanks @Troy Tessalone!

View original
Did this topic help you find an answer to your question?
71% found this helpful

10 replies

Troy Tessalone
Forum|alt.badge.img+14

Hi @Blue Horizon 

Good question.

If the ability to select an existing template is not available, then you may have to explore using the Notion API.

Try using this Zap action: Notion - App Extensions

This has an AI assist.

 


  • Author
  • Beginner
  • 1 reply
  • Answer
  • November 14, 2023
Troy Tessalone wrote:

Hi @Blue Horizon 

Good question.

If the ability to select an existing template is not available, then you may have to explore using the Notion API.

Try using this Zap action: Notion - App Extensions

This has an AI assist.

 

Really Helpful! Thanks @Troy Tessalone!


  • Beginner
  • 6 replies
  • April 1, 2024

@Blue Horizon @Troy Tessalone i’m trying this and getting defeated. is there any way y’all can share more details on what you were able to build & how? 😅🙏


Troy Tessalone
Forum|alt.badge.img+14

@m_ocra 

Might be best to post your own topic with screenshots to provide more context about your steps and configuration.


  • Beginner
  • 6 replies
  • April 3, 2024

that’s fair thank you! TLDR, i kept getting “invalid JSON” from Notion’s API in my test but finally got it working by adding    

"children": [ preceding the { “object… 

in the body. not very well documented by Notion!


ken.a
Forum|alt.badge.img+6
  • Zapier Staff
  • 6526 replies
  • April 8, 2024

That's an amazing news @m_ocra! Thank you for sharing the solution to the error you were running into. This will be helpful to other members in our community who might encounter a similar issue when using the API Request (Beta) for Notion

Happy Zapping! 


donovan
  • Beginner
  • 4 replies
  • July 15, 2024

@m_ocra any chance you can share a more complete picture of how you solved this? I cannot figure out how to create a new page in a database and apply a template to it upon creation. I found this in a thread on Reddit from Oct ‘23 and would love to solve this for my own needs.

'The Notion API doesn't support applying database templates to new pages.'


  • Beginner
  • 6 replies
  • July 15, 2024

@donovan sensitive info is covered by the obnoxious black shapes in screenshots, sorry

 

i used a combination of the `content` field in the “Create Database Item in Notion” step, plus 2 custom actions. the custom actions each create one block on the Notion page created in step 4; through this combination i effectively get a templated page.

 

the content block of  the “Create Database Item in Notion” step

 

here’s how it looks in Notion. note that i manually modified this; upon creation both blocks created by custom actions will be UNDER the content block (which tracks based on the order of steps in my zap)

 

https://zapier.com/app/extensions as a non-technical person i did have to have an engineer help me get this over the finish line when building custom actions. good luck with notion’s documentation!

 

 


JammerS
Forum|alt.badge.img+6
  • Zapier Staff
  • 2602 replies
  • July 16, 2024

Hi @m_ocra

 

Awesome workaround. Thank you for contributing the solution to our Community. We appreciate the step-by-step guide on how you get things done. 


donovan
  • Beginner
  • 4 replies
  • July 16, 2024

Thanks for the details and screenshots @m_ocra I appreciate it. I’ll be exploring this soon.


Reply