Actions7
Overview
The User - Get Friend List operation for the Steam Web API node retrieves the list of friends associated with a specified Steam user. This is useful for automating workflows that require information about a user's Steam friends, such as social analytics, gaming community management, or personalized notifications based on a user's friend network.
Example scenarios:
- Fetching and displaying a user's Steam friends in a dashboard.
- Sending notifications or emails to users when their friends are online or playing specific games.
- Integrating Steam friend data into CRM or community platforms.
Properties
| Name | Type | Meaning |
|---|---|---|
| Steam ID | String | The unique identifier for a Steam user. You can obtain this from your Steam account page. |
| Simplify | Boolean | Whether to return a simplified version of the response instead of the raw data. Default is false. |
Output
If Simplify is
false:
The output will contain the raw response from the Steam Web API, which typically includes detailed information about each friend (such as Steam IDs, relationship status, and friend_since timestamps).If Simplify is
true:
The output will be a streamlined version of the above, likely containing only essential fields (e.g., friend Steam IDs and basic info).
Output structure example (raw):
{
"friendslist": {
"friends": [
{
"steamid": "12345678901234567",
"relationship": "friend",
"friend_since": 1609459200
}
// ... more friends
]
}
}
Output structure example (simplified):
[
{
"steamid": "12345678901234567"
}
// ... more friends
]
Note: The actual simplified structure may vary depending on implementation.
Dependencies
- External Service: Requires access to the Steam Web API.
- API Key: A valid Steam API key must be configured in n8n credentials under
steamApi. - n8n Configuration: No additional configuration required beyond setting up the credential.
Troubleshooting
Missing or Invalid Steam ID:
Error message: "Invalid Steam ID" or "No friends found."
Resolution: Ensure you provide a correct Steam ID, obtainable from your Steam account page.Missing API Key or Invalid Credentials:
Error message: "401 Unauthorized" or "Invalid API key."
Resolution: Check that your Steam API credentials are correctly set up in n8n.API Rate Limits:
Error message: "Too many requests" or HTTP 429 errors.
Resolution: Wait before making further requests, or check Steam API documentation for rate limits.Network Issues:
Error message: "Request failed" or timeout errors.
Resolution: Verify network connectivity and that the Steam Web API is accessible.