Notion Org Chart Generator avatar

Notion Org Chart Generator

Try for free

No credit card required

Go to Store
Notion Org Chart Generator

Notion Org Chart Generator

spidoosho/notion-org-chart-generator
Try for free

No credit card required

Generate an image of organization chart from the Employee directory in Notion.

jancurn avatar

Feedback from testing

Closed

Jan Čurn (jancurn) opened this issue
3 years ago

Many thanks for your actor! I was playing with it a bit, and have the following feedback:

  1. If there was any way to make the actor work without a need to create a custom integration, e.g. by simply sharing the URL on web and pasting it to Input, I think more people would be willing to try it. I don't know if that's possible or how much work would that be. Just an observation
  2. Maybe instead of "Database ID", how about letting people paster the page URL? It would be more convenient for them
  3. The integration doesn't need "Can edit" permissions, it worked for me with read only. People might be afraid to give edit permissions
  4. When I made the actor work, I got this image [REMOVED], that doesn't seem right. Am I doing something wrong?

Cheers

spidoosho avatar

Thank You for trying out my actor and the feedback!

  1. I'm afraid it is the limitation of a Notion API I'm using in the actor. But there is a possibility for a lengthy workaround - scrape the URL. Note: If only URL is given and if the database is private, then it cannot be opened, so the solution wouldn't be perfect either.
  2. I updated the actor and now user can input either ID or the URL.
  3. Updated.
  4. Based on image I think the problem is the Relation input. Maybe the relationName in the input does not correspond to the name of the column.

Cheers

zuzka avatar

Just checking, @tuan, you are planning to update number 4. so that it works as expected? Can number 1, be automated? I mean creating custom integration via the actor?

jancurn avatar

Thanks for the feedback. I tried it again, and it's much better now. But there is still one problem. Becaus the "Name" is entered and "Team lead" is using a list of Notion users, the names sometimes don't match. See run ID [REMOVED]. Not sure how to fix this though... it's hard to make sure the names will match

spidoosho avatar

@zuzka, 4: based on what @jan just sent, I'm thinking about a little heuristics which can join people, for example Matej Sochor and Matěj Sochor (based on diacritics). Or I could add something like 'possible prefixes and postfixes', like we had '__name' or 'ZX name'. I'm not sure how to approach this, because it is not actor's fault for not recognizing same people, because it was given different names. I think this should be fixed on the users' side. What do you think, guys? AIso I've just thought of an opposite problem. What if two different people have the same name :D 1: yes, it can be automated, I'm going to work on it now.

jancurn avatar

That's a great idea! Maybe when you remove diacritics and there's no perfect match, you could find the name that is closest using https://www.npmjs.com/package/fast-levenshtein. And report if there's no good enough match, which would mean some user is missing. Some heuristic like that.

Regarding 1), it took just a few seconds to set up the integration, so it's good enough IMHO, unless simplifying it would be something easy.

Thanks again, I think this will be a nice useful actor.

spidoosho avatar

Thanks for the suggestion! I added diacritics nad levenshtein (I'm not sure what threshold to use, so I set it to 2) and also check for nicknames (like, Hoang "spidoosho" Anh Tuan).

To be honest, I would rather skip 1) too. But if customers will want it, it's no problem to implement it.

jancurn avatar

Tried it again, but it fails now:

spidoosho avatar

@jan it should be fixed now.

Developer
Maintained by Community

Actor Metrics

  • 1 monthly user

  • 2 stars

  • Created in Dec 2021

  • Modified 3 years ago

Categories