Skip to main content

Send smart lock PINs for Apaleo reservations with Seam, Gmail, and Twilio

Workflow preview

Workflow preview
100%
Send smart lock PINs for Apaleo reservations with Seam, Gmail, and Twilio preview
Open on n8n.io

1. Workflow Overview

Quick overview Youtube video explanation Link: https://youtu.be/3ukKYmCF5XY?si= iRKpBUIGzhnczMk This workflow reacts to Apaleo reservation unit assignments, generates a time bound smart lock access...

Best for

  • Miscellaneous automation workflows
  • advanced n8n builders looking for reusable templates

Tools used

n8n-nodes-base.httprequest, @apaleo/n8n-nodes-apaleo-official.apaleo, n8n-nodes-base.code, n8n-nodes-base.gmail, n8n-nodes-base.twilio, n8n-nodes-base.scheduletrigger, @apaleo/n8n-nodes-apaleo-official.apaleotrigger, n8n-nodes-base.stickynote

Source and attribution

This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by iamvaar.

Original n8n.io source

1.1 Workflow description

Title
Send smart lock PINs for Apaleo reservations with Seam, Gmail, and Twilio
Workflow name
Send smart lock PINs for Apaleo reservations with Seam, Gmail, and Twilio

Quick overview

Youtube video explanation Link: https://youtu.be/3ukKYmCF5XY?si=-iRKpBUIGzhnczMk

This workflow reacts to Apaleo reservation unit assignments, generates a time-bound smart lock access code via Seam, saves it back to the Apaleo reservation comment, and notifies guest using Gmail and Twilio, while also rotating an Apaleo bearer token on a 58‐minute schedule.

How it works

  1. Triggers when Apaleo emits a reservation/unit-assigned event.
  2. Retrieves the full reservation details from Apaleo using the reservation ID from the event.
  3. Maps the reservation’s unit identifier to a Seam device ID and prepares the access window from the arrival and departure dates.
  4. Creates an access code in Seam for the mapped device and reservation time window.
  5. Updates the Apaleo reservation comment to store the generated PIN.
  6. Fetches the reservation again via the Apaleo Booking API to get primary guest and booker contact details and sends the PIN via Gmail email and Twilio SMS.
  7. Separately, runs every 58 minutes to request an Apaleo OAuth access token and PATCH an n8n credential so the Apaleo bearer token used for customer lookups stays current.

Setup

  1. Configure Apaleo OAuth2 credentials for the Apaleo trigger and reservation read/update actions, and ensure your Apaleo app has permission to read and patch reservations.
  2. Add a Seam API credential (HTTP header auth) and replace the sample room-to-device mapping list with your real Apaleo unit IDs and Seam device IDs.
  3. Add Gmail OAuth2 credentials and update the email sender details, subject, and template placeholders as needed.
  4. Add Twilio credentials, set a valid Twilio “from” number, and confirm the workflow uses the correct guest phone field for your Apaleo data.
  5. For token rotation, set the Apaleo client credentials Basic auth header, your n8n instance URL, and the credential ID to patch, and add an n8n API credential with permission to update credentials.

1.2 Logical Blocks

This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.

2. Block-by-Block Analysis

Block 1 - Create Access Code on Seam

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.4

Block 2 - Retrieve Reservation Details

Type / Role
@apaleo/n8n-nodes-apaleo-official.apaleo - apaleo
Config choices
Version 1

Block 3 - Link Room to Lock Code

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 4 - Add PIN to Reservation Note

Type / Role
@apaleo/n8n-nodes-apaleo-official.apaleo - apaleo
Config choices
Version 1

Block 5 - Retrieve Customer Contact Info

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.4

Block 6 - Deliver PIN via Gmail

Type / Role
n8n-nodes-base.gmail - gmail
Config choices
Version 2.2

Block 7 - Send PIN using Twilio

Type / Role
n8n-nodes-base.twilio - twilio
Config choices
Version 1

Block 8 - When Triggered Every 58 Minutes

Type / Role
n8n-nodes-base.scheduleTrigger - scheduleTrigger
Config choices
Version 1.3

Block 9 - Obtain Apaleo Access Token

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.4

Block 10 - Update API Credential Information

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.4

Block 11 - On Reservation Unit Assignment

Type / Role
@apaleo/n8n-nodes-apaleo-official.apaleoTrigger - apaleoTrigger
Config choices
Version 1

Block 12 - Sticky Note6

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 13 - Sticky Note7

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 14 - Sticky Note8

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 15 - Sticky Note9

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 16 - Sticky Note10

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 17 - Sticky Note11

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

3. Summary Table

Workflow Send smart lock PINs for Apaleo reservations with Seam, Gmail, and Twilio
Complexity advanced
Nodes 17
Categories Miscellaneous
Author iamvaar
Published 22 May 2026

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/15917/15917.json as the source template for this automation.

  2. 2. Import the template into n8n

    Open n8n, import the downloaded JSON, and review each node before activating the workflow.

  3. 3. Configure credentials and variables

    Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.

  4. 4. Test with sample data

    Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.

  5. 5. Activate and monitor

    Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.

5. General Notes & Resources

Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.

Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.

Frequently asked questions

What does Send smart lock PINs for Apaleo reservations with Seam, Gmail, and Twilio do?

Quick overview Youtube video explanation Link: https://youtu.be/3ukKYmCF5XY?si= iRKpBUIGzhnczMk This workflow reacts to Apaleo reservation unit assignments, generates a time bound smart lock access...

What do I need before importing this workflow?

Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.

Can I customize this workflow?

Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your Miscellaneous use case.