Mailhook and Deputy: New-Hire Form to Employee Record Template

When a new-hire intake form arrives by email, Spojit reads the details and creates the matching employee record in Deputy automatically.

What It Builds

A Mailhook trigger gives the workflow its own dedicated address, so any emailed intake form starts a run. An Agent-mode Connector node reads the message body and extracts the new hire's details into clean fields, and a Deputy Connector node creates the employee record. No manual re-keying from inbox to roster.

The Prompt

Paste this into Miraxa and it builds the workflow, connecting the tools for you:

Build a workflow with a Mailhook trigger so HR can forward new-hire intake forms to a dedicated email address. When a form arrives, extract the new employee's full name, email, phone number, role, and start date from the message, then create a matching employee record in Deputy with those details.

Connectors Used

  • Mailhook - the trigger; supplies the dedicated @mailhook.spojit.com address that receives each intake form.
  • Agent mode - reads the email body and pulls out the structured new-hire fields.
  • Deputy - creates the employee record from the extracted details.

Customize It

Change the extracted fields in the prompt to match your form (add team, location, or pay rate), point the record at a specific Deputy location, or add a line to also send a Slack welcome message once the record is created.

Tips

  • Give the Agent-mode node a Response Schema so the extracted fields always come back as predictable JSON before they hit Deputy.
  • Confirm your Deputy connection has permission to create employees, and forward one real form first to verify the field mapping.
  • If forms arrive as PDF attachments rather than email text, add an Attachment node to fetch the file before extraction.

Related

Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.