Actions26
- Stock Actions
- Index Actions
- ETF Actions
- Forex Actions
- Crypto Actions
- Alternative Actions
Overview
The "Senate Lobbying" operation under the "Alternative" resource in this custom n8n node is designed to retrieve lobbying data related to a specific company from the Finnhub.io API. By specifying a company symbol and a date range, users can obtain information about Senate lobbying activities associated with that company within the given timeframe.
Common Scenarios:
- Financial analysts tracking political influence on companies.
- Compliance teams monitoring lobbying disclosures for due diligence.
- Journalists or researchers investigating corporate-government interactions.
Practical Example:
A user wants to see all Senate lobbying records for GameStop (symbol: GME) between January 1, 2021, and December 31, 2021.
Properties
Name | Type | Meaning |
---|---|---|
Symbol | String | Company symbol (e.g., "GME") used to identify the target company. |
From Date | DateTime | Start date for the lobbying data search period. |
To Date | DateTime | End date for the lobbying data search period. |
Output
The node outputs a JSON object (or array of objects) containing Senate lobbying data for the specified company and date range. The structure typically includes fields such as:
- lobbying firm name
- amount spent
- date(s) of activity
- issues lobbied
- client (company) name
- other relevant lobbying details
Note: The exact output fields depend on the Finnhub.io API response for the lobbying endpoint.
Dependencies
- External Service: Requires access to the Finnhub.io API.
- API Key: A valid Finnhub API key must be configured in n8n credentials under the name
finnhub
. - n8n Configuration: Ensure the Finnhub credential is set up and accessible by the node.
Troubleshooting
Common Issues:
Invalid or missing API key:
Error message: "401 Unauthorized" or "API key missing."
Resolution: Check that your Finnhub API key is correctly configured in n8n credentials.Incorrect company symbol:
Error message: "No data found" or empty results.
Resolution: Verify the symbol is correct and exists in Finnhub's database.Date format errors:
Error message: "Invalid date format."
Resolution: Ensure dates are provided in the correct ISO format (YYYY-MM-DD).API rate limits:
Error message: "429 Too Many Requests."
Resolution: Wait before making more requests or upgrade your Finnhub plan.