Actions18
- Favorites Actions
- Groups Actions
- History Events Actions
- Leads Actions
- Saved Searches Actions
Overview
The "Retrieve Favorite" operation in the Favorites resource allows you to fetch a single favorite listing associated with a specific lead by using the lead's email address and the favorite's unique record identifier. This is useful for verifying if a particular property has been marked as a favorite by a lead within the system.
Common scenarios include:
- Checking whether a lead has already favorited a specific property.
- Retrieving details of a favorite listing to display or process further.
- Validating the existence of a favorite before performing updates or deletions.
For example, a real estate agent might use this operation to confirm that a client has saved a certain home listing before sending additional information or scheduling a viewing.
Properties
| Name | Meaning |
|---|---|
| The e-mail address of the lead whose favorite you want to retrieve. | |
| Id | The unique record identifier of the favorite listing to retrieve. |
Output
The output is a JSON object containing the details of the requested favorite listing associated with the specified lead. The structure typically includes all relevant fields of the favorite record as returned by the API, such as MLS number, property type, feed identifier, source table, and other metadata related to the favorite.
If an error occurs (e.g., invalid ID or email), the output will contain an error message describing the issue.
No binary data is output by this operation.
Dependencies
- Requires an API key credential for authentication with the Omaha Homes For Sale CRM API.
- The node makes HTTP GET requests to the endpoint:
http://www.omahahomesforsale.com/api/crm/v1/leads/{email}/favorites/{id} - Proper configuration of the API key credential in n8n is necessary for successful requests.
Troubleshooting
Common issues:
- Invalid or missing email or favorite ID parameters will cause the request to fail.
- Incorrect or expired API key will result in authentication errors.
- Network connectivity problems can prevent reaching the API endpoint.
Error messages:
- HTTP 400 or 401 status codes indicate bad requests or unauthorized access; verify input parameters and API credentials.
- Error responses from the API are included in the output to help diagnose issues.
Resolution tips:
- Ensure the email and favorite ID correspond to existing records in the system.
- Confirm the API key is valid and has appropriate permissions.
- Check network settings and firewall rules if connectivity issues arise.
Links and References
- Omaha Homes For Sale API Documentation (assumed base URL for API)
- n8n HTTP Request Node documentation for understanding request handling: https://docs.n8n.io/nodes/n8n-nodes-base.httpRequest/