DEV Community

Discussion on: Write copy in Notion, export to JSON

Collapse
 
vaclavhodek profile image
vaclavhodek

I think that your product would be awesome for a completely different field.

I would call it a developer-marketer problem, and we hit it often at Localazy :-).

Examples:

  1. For marketing purposes, it's necessary to introduce a set of URL redirects. Adding a new redirect is as simple as adding a record to the database. However, we don't have a nice UI for it, and so the marketer can't do it on his own.

  2. A lot of things on our website are edited by the marketer. Currently, we use headless CMS (Directus) for managing data, but we could use Notion as well and export them to JSON.

Technically, when a non-tech person needs to edit data, your product is useful. It, of course, includes i18n as well, just this particular field is too complex for a simple table.

Thread Thread
 
logicalicy profile image
Mario Hayashi

I like the alternative use cases. I'll add them to my notes. Like you mention, this tool could bend in other ways than just copy!

Thread Thread
 
logicalicy profile image
Mario Hayashi

If the redirects database / marketing data (what might these be?) were to be exported to JSON, how would it be integrated into your system? Would be keen to know! Thanks šŸ™‚

Thread Thread
 
vaclavhodek profile image
vaclavhodek

Basically, it's a table of target URL and destination URL.

Every 5 minutes, it's reloaded from the database. I can imagine, that we call some endpoint to get a fresh copy from the Notion. So anyone with access to the given notion document can add or update redirects and they are alive in no more than 5 minutes.

A similar situation applies for, e.g., this page: localazy.com/integrations

It's built statically but when the build process is invoked, the list of products along with their parameters (and there are many of them; some used for showing the products once logged in) are loaded from headless CMS and the page is rendered. Again, I can imagine calling an endpoint to get data from Notion.

Thread Thread
 
logicalicy profile image
Mario Hayashi

This is brilliant. Yes headless CMS has been on my mind, I feel it's quite relevant as you mention. I started with JSON output (for simplicity) but an API/making it headless is not a far fetch. Will have a think and nudge you for some additional feedback when I have more to share if that's ok? šŸ™‚

Thread Thread
 
vaclavhodek profile image
vaclavhodek

Sure, I will follow you to keep updated about your progress :-). Feel free to contact me! We can connect on LinkedIn: linkedin.com/in/vaclavhodek