Skip to main content
Solved

How to append text to a User Field?

  • August 27, 2024
  • 3 replies
  • 70 views

netburn

Hello, 

 

I’m trying to append some text to a Text Custom User Field, however I can’t manage to do it. Is there any special concatenate operator or is this something that can’t be done?

 

Basically I’m building a URL while collecting user input, so I need to call back the URL variable to concatenate new data.

 

 

Thanks.

Best answer by Gustavo Boregio

You're doing it right.

Just don't reuse the 'url' user field.

I'd do something like

final_url (the variable that has the complete url)

set it to:

{base_url}{año_ida}{mes_ida}-0….

If you're reusing the URL you run the risk of recurring and ending up with URLs like:

https:///mysite.com/page/https:///mysite.com/page/7655srignewoirg.html.html and weird things like that.

3 replies

Gustavo Boregio
Forum|alt.badge.img+6
  • Manychat Community Moderator
  • Answer
  • August 27, 2024

You're doing it right.

Just don't reuse the 'url' user field.

I'd do something like

final_url (the variable that has the complete url)

set it to:

{base_url}{año_ida}{mes_ida}-0….

If you're reusing the URL you run the risk of recurring and ending up with URLs like:

https:///mysite.com/page/https:///mysite.com/page/7655srignewoirg.html.html and weird things like that.


cata_rendon
Forum|alt.badge.img+3
  • Manychat Community Moderator
  • August 27, 2024

Hola, se me ocurre que si no te es posible crear la URL con el “Set User field”, podrías intentar enviar al google sheets los CUF, concatenarlos allí, crear la URL y traerla de regreso a ManyChat. 


netburn
  • Author
  • Up-and-Comer
  • August 27, 2024

Thank you @Gustavo Boregio. Using 2 URL fields solved the thing.


Regards,