β a simple integration with Zapier for information capture.
π DEMO IS HERE
You can get it from here. Just copy to your workplace.
Remember, each section must be filled!
β ID = The id of a Notion page that can be used as a blog post. For example, https://www.notion.so/whatifbelief/First-Blog-257536fd396b4c73a0c3c25e0f154dd9 is the link to a blogpost. 257536fd396b4c73a0c3c25e0f154dd9 is the needed ID.
β title = The title of the page that will be display on the tab in the browser.
β slug = The link http://website.com/posts/[slug].
β coverImage = The image that is displayed on the main page.
β description = The description that can be seen as meta tag
To use it you need to create your own database. Copy it from this link https://www.notion.so/whatifbelief/88f847314b884d228431da3b1fe44a5a?v=b3838604e52c40c7bb5a8984a554dc31. After you import it into your notion workplace you need to replace the notion id in the repository with your id.
next.config.js
module.exports = {
env: {
notionTableId: "88f847314b884d228431da3b1fe44a5a", //replace this id this your Notion table id
},
};
βοΈβοΈβοΈ Your Notion pages must be public to be read (otherwise you'll get an error). So, make sure you share them to web.
pages/api/zapier.js
const zapierLink = "https://hooks.zapier.com/hooks/catch/*******/*******"; // replace with your Zapier link
Replace with your Zapier link and process the information however you'd like.
π UI Library has been used in this project