This Workflow will extract the domain for the email address.
Este flujo de trabajo extrae el dominio de una dirección de correo electrónico.
const email = $json["email"]; // Reemplaza "email" con el nombre del campo que contiene el email.
const domain = email.substring(email.lastIndexOf("@") + 1);
return {"domain": domain};
Scriflow builds and adapts n8n workflows with AI. Open this template in the editor to get the import-ready JSON.