Question

How do you cope with the spaces-problem in eMail templates?

  • 17 December 2020
  • 2 replies
  • 153 views

Userlevel 7
Badge +12

When editing E-Mail templates, Pipefy tends to add spaces around fields’ values where I do not want them. I try different ways, e.g. removing in HTML, removing in WYSIWYG editor, but they always come back after re-opening the E-Mail template. It is very annoying and time consuming. Did anyone find a solution or workaround for this problem?

I understand that there is no documentation for the E-Mail templates API, right? So I can not build something separate e.g. with GraphQL API or fix the issue programmatically either. Any ideas?

The beta version is not better in this regard either, unfortunately, as the problem persists there too.


2 replies

Userlevel 2

It is a problem, and I could not find any way round it, apart from get it right and then don’t go in to edit the template again. Each time I have a template, takes a lot of back and forth to get it right as it adds spacing to fields all the time. Its bizarre. I have tried copying the HTML into there, using the wysiwyg editor etc and have the same problem as you.

Userlevel 7
Badge +12

So, I developed a small utility using the GraphQL API as I was able to reverse-engineer it.

You can find it here: https://github.com/GenieTim/PipefyEnhancer

This tool enables you to edit the HTML-code of the template in your favorite editor without worrying about any validation or other changes to it from the Pipefy Interface. This way, you might just be able to save the templates with the spaces as you want them. It may not work if the Pipefy-Backend is the problem though, of course. I do not have enough data yet to know whether this tool solves my space-problems or not.

If you have any questions, feel free to tag me or open an issue in the GitHub repository https://github.com/GenieTim/PipefyEnhancer

Reply