How to automatically update text in html

I am working on a workflow to automate internal linking on websites. The goal is to get the website content, search for a keyword on the content and then update the text by adding a link to the keyword

I tried a few methods but can not work it out yet. How can I go about either using a regex or a code node to do the bulk replacemants?
Thanks

It looks like your topic is missing some important information. Could you provide the following if applicable.

  • n8n version:
  • Database (default: SQLite):
  • n8n EXECUTIONS_PROCESS setting (default: own, main):
  • Running n8n via (Docker, npm, n8n cloud, desktop app):
  • Operating system:

I managed to work it out
This is the complete workflow on how you can automate internal linking with n8n. If you have large websites or use programatic SEO this can handy

3 Likes

Hi @Imperol

Thanks for sharing your solution! Nice job! :clap:

This could be a cool template other users might find interesting! Make sure to check out our creator platform if you wanted to publish it :seedling:

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.