When a guest signs in to your StayFi Wi-Fi, a Zap can send them to Yada as a contact with the source StayFi. You set it up once, and every new Wi-Fi sign-in arrives in Yada within seconds.
Before you start
A paid Zapier plan. The Zap uses Webhooks by Zapier, a premium Zapier app. It isn't available on Zapier's Free plan.
A StayFi account you can connect to Zapier.
Access to Settings in Yada to create an API key.
Step 1: Get your Yada endpoint URL and API key
In Yada, open Settings → Integrations → Webhooks.
Create an API key and copy it. The full key is shown only once, so keep it somewhere safe until you finish. See Create and Manage API Keys.
Copy the endpoint URL shown on the same page.
The Connect StayFi through Zapier card on that page has these steps and a ready-to-copy request body.
Step 2: Add the StayFi trigger
In Zapier, create a new Zap.
Choose StayFi as the trigger app and WiFi Guest Login as the event.
Connect your StayFi account, then test the trigger so Zapier loads a sample guest.
Step 3: Add the Webhooks by Zapier action
Add an action step and choose Webhooks by Zapier, then Custom Request.
Set Method to
POST.Set URL to the endpoint URL from Step 1.
Paste this into Data:
{
"name": "<Name>",
"email": "<Email>",
"phone": "<Phone>",
"source": "stayfi",
"customField": {
"property": "<Property>",
"property_group": "<Property Group>",
"sms_opt_in": "<SMS Opt In>"
}
}Replace each value in angle brackets, including the brackets, with the StayFi field of the same name from the Insert Data menu. Keep the quotation marks and leave "source": "stayfi" as it is.
Step 4: Add the headers
Under Headers, add two rows:
Authorization: the wordBearer, a space, then your API key.Content-Type:application/json
Leave the other Custom Request options at their defaults.
Step 5: Test and publish
Test the action step. Zapier sends the sample guest to Yada.
In Yada, open Marketing → Contacts and check the guest is there with the source StayFi.
Publish the Zap.
What Yada does with each guest
The name is split into first and last name.
If a contact with the same email or phone already exists, Yada updates it instead of creating a duplicate.
Property, property group, and SMS opt-in are saved on the contact as custom fields.
The StayFi SMS opt-in value is kept for reference only. It doesn't change who Yada can message, and a guest who has replied STOP stays opted out.
Troubleshooting
401 Unauthorized: check the Authorization header is
Bearer, a space, then the full key, and that the key hasn't been revoked.400 Bad Request: either the Data box isn't valid JSON, or the guest has no email and no phone. Check that every value is in quotation marks and no brackets or commas were deleted. Guests without an email or phone can't be added.
The guest doesn't appear: make sure you're looking in the Yada workspace whose endpoint URL you used.
Webhooks by Zapier is locked: your Zapier account is on the Free plan. Upgrade to a paid plan to use it.