npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2025 – Pkg Stats / Ryan Hefner

n8n-nodes-send-and-wait-custom

v0.1.10

Published

Custom send-and-wait email node for n8n with secure tokens and branding controls.

Downloads

48

Readme

Send & Wait Custom banner

n8n-nodes-send-and-wait-custom

Enrichissez vos workflows n8n avec un e-mail « Send & Wait » totalement personnalisable : branding supprimable, HTML complet, ressources externes et page de réponse sur mesure avec jetons sécurisés.

Fonctionnalités

  • HTML 100 % libre via le champ Email HTML Body (placeholders {{buttons}}, {{workflowId}}, {{executionId}}).
  • Attribution n8n optionnelle (Remove n8n Branding).
  • Chargement d'actifs externes (Custom CSS URL, Custom JS URL).
  • Liens signés avec expiration (Link Expiration) et redirection post-réponse (Redirect URL).
  • Pages de réponse personnalisées (Custom HTML Page) ou formulaire texte enrichi.
  • Sortie compatible n8n (mêmes structures que le « Send Email → Send and Wait » officiel, avec responseText, clickedOption, responseTimestamp, executionId).

Installation

Dans un projet n8n (Community Nodes)

# Dans votre dossier custom nodes
pnpm install n8n-nodes-send-and-wait-custom
pnpm build  # génère dist/

Dans l'UI n8n, activez les Community Nodes puis ajoutez n8n-nodes-send-and-wait-custom. Relancez n8n pour charger le module.

Développement local

git clone https://github.com/example/send-and-wait-custom.git
cd send-and-wait-custom
pnpm install
pnpm dev   # compilation TypeScript en watch

Pour tester dans n8n en mode fichier :

  1. Copiez le chemin du dossier (par exemple ~/.n8n/custom/send-and-wait-custom).
  2. Lancez pnpm build pour générer dist/.
  3. Redémarrez n8n.

Utilisation

  1. Ajoutez le node Send & Wait (Custom) dans votre workflow.
  2. Saisissez l'expéditeur (From Email) et le destinataire (To Email).
  3. Rédigez l'objet et le message ou fournissez votre propre HTML.
  4. Choisissez le type de réponse :
    • Approval Buttons : configurez les options dans Reply Options.
    • Free Text Form : personnalisez titre, description et appel à l'action.
  5. Ajustez au besoin les champs avancés (expiration, redirection, page HTML, template d'URL de réponse).
  6. Renseignez vos identifiants SMTP (smtp credential).

Lorsque l'e-mail est envoyé, l'exécution se met automatiquement en attente (putExecutionToWait). Le workflow ne reprend qu'après une réponse HTTP valide sur l'URL signée.

Sortie du node

Le JSON renvoyé contient :

  • responseText – texte libre ou libellé du bouton cliqué.
  • clickedOption – identifiant de l'action choisie.
  • responseTimestamp – date ISO de la réponse.
  • executionId – identifiant de l'exécution en attente.
  • statustext-response, approve, reject, etc. selon l'option.

Sécurité

  • Jetons HMAC SHA-256 signés (nonce.signature) stockés dans les données statiques du node.
  • Vérification stricte du protocole (https) côté webhook.
  • Option d'expiration automatique des liens.

Scripts utiles

pnpm build     # compile TypeScript + icônes vers dist/
pnpm dev       # build incrémental en watch
pnpm lint      # lint du projet
pnpm lintfix   # lint + corrections auto

Publication sur npm

  1. Mettez à jour package.json (version, dépôt, auteur, mots-clés).
  2. Assurez-vous que dist/ est à jour (pnpm build).
  3. Connectez-vous à npm : npm login.
  4. Publiez :
    npm publish --access public
  5. Communiquez l'URL npm afin que n8n puisse l'installer en Community Node.

Licence

MIT