Skip to main content
Best answer

Help with a button in a gmail message that actually links?

  • March 6, 2021
  • 4 replies
  • 1211 views

Hi all,

I’m new to HTML (as of 1 hour ago) but amazed thanks to w3schools how much I figured out already. I wanted to add some functionality to my gmail message with zappier so choose HTML. I’m trying to create a button that is a hyperlink. I have the botton up and running, but it won’t link. It works in the w3schools test page, but not when I actually run the test zap. Thoughts? or is it gmail?

Here’s what I have:

<p>How it works: Open the profile at <button onclick="window.location.href='https://www.klouf.com/steph';"> View Here </button> 

Thanks for any insight! 

 

cheers,

Jessica

 

 

Best answer by robschmidt

Hi @Jessica Seepersad,

If you’d like to create an HTML email through Gmail/Zapier, I’d suggest you use a WYSIWYG or visual editor. The reason is that writing raw code can have errors in them, so it’s better to use a tool that’ll help you visualize your code.

Here’s an online editor you can use: https://html-online.com/editor/

Just build the email as you’d like, then get the HTML code and paste it into the Zapier email body field.

 

This post has been closed for comments. Please create a new post if you need help or have a question about this topic.

4 replies

Troy Tessalone
Zapier Orchestrator & Solution Partner
Forum|alt.badge.img+14
  • Zapier Orchestrator & Solution Partner
  • March 6, 2021

Hi @Jessica Seepersad 

Article: https://www.w3schools.com/html/html_links.asp

Try wrapping the button in a <a href> tag.

<p>How it works: Open the profile at <a href=”https://www.klouf.com/steph”><button>View Here</button></a>


robschmidt
Forum|alt.badge.img+9
  • Zapier Solution Partner
  • Answer
  • March 7, 2021

Hi @Jessica Seepersad,

If you’d like to create an HTML email through Gmail/Zapier, I’d suggest you use a WYSIWYG or visual editor. The reason is that writing raw code can have errors in them, so it’s better to use a tool that’ll help you visualize your code.

Here’s an online editor you can use: https://html-online.com/editor/

Just build the email as you’d like, then get the HTML code and paste it into the Zapier email body field.

 


@robschmidt, wow, this is great, thank you!


Thanks @Troy Tessalone ! appreciate it