I want to scrape a user's LinkedIn profile to gather insights about their recent posts. I am currently using Claygent, but it shows limited access and isn't providing satisfactory results. Do you recommend any other integrations that could be more effective?
Since Clay's post data comes from public web scraping and may have limitations, here are two alternative options you can consider: 1. You can use services like Apify or Phantombuster, which can be integrated with Clay to bring post data into our platform. However, please note that since these services use your LinkedIn account for scraping, there's a risk of being blocked by LinkedIn, so use them cautiously. 2. You can continue using Claygent but optimize your results by setting it to use advanced AI models like Argon or OpenAI's GPT 4o, which will provide better outcomes.
Did that answer your question?
Yes I tried Apify but I am getting an error in fetching data from pull request. Tell me step by step process.
Here's the step-by-step process to set up Apify correctly and resolve common errors: 1. First, connect your Apify account: • Go to Settings > Connections in Clay dashboard • Click "Add Connection" and select Apify • Enter your Apify API key from the Apify Console 2. To use Apify: • Choose "Import data from Apify actor" when creating a table, or • Select "Add enrichment" and search for "Run Apify Actor" • Select your connected Apify accountIf you're getting a "failed to parse body" error, check these common issues: ** Ensure all text keys are in double quotes ** Remove any extra commas ** Check for proper JSON formatting ** Verify your API key is correctIf the actor is stuck in "queued" status: ** Try a hard refresh (Windows: Ctrl + Shift + R, Mac: Cmd + Shift + R) ** Check column dependencies and ensure run conditions are properly set Sources: Apify integration overview | Documentation | Clay University HTTP API with JWT authentication | Documentation | Clay University FAQ: Why am I seeing the "failed to parse body" error when using the HTTP API enrichment?
Is that what you were looking for?
{
"error": {
"type": "invalid-input",
"message": "Cannot parse input JSON body: Unexpected non-whitespace character after JSON at position 18 (line 1 column 19)"
}
}
getting this error while connecting fetching data from apify
The error you're seeing indicates there's an issue with JSON formatting in your input data. Here's how to fix it: 1. Make sure your JSON is properly formatted:
• All text keys must be in double quotes
• Remove any trailing commas at the end of objects
• Check for proper closing brackets and bracesHere's an example of correct formatting: LBKS{ "name": "John", "age": 30 }LBKS
When using column tokens in Clay with Apify: ** Keep the keys in quotes
** Don't wrap the column tokens themselves in quotes
* Example: { "email": ##{{email field}}, "name": ##{{name field}} }
For a quick fix: 1. Copy your JSON into a validator like JSONLint
2. Let it identify formatting issues
3. Fix the highlighted errors
4. Paste the corrected JSON back into Clay
Sources:
FAQ: Why am I seeing the "failed to parse body" error when using the HTTP API enrichment?
Apify integration overview | Documentation | Clay University
Run Apify Actor with Apify
Did that answer your question?
To fix the JSON parsing error in your Apify integration, follow these formatting rules: 1. For the Input Data section: • Ensure all keys are in double quotes • When using column tokens, keep the key in quotes but don't wrap the token itself • Example format: • ```
{ "email": ##{{email field}}, "name": ##{{name field}} } ```
Quick troubleshooting steps: 2. Check for and remove any: • Extra commas at the end of objects • Extra spaces • Hidden characters 3. Verify all text keys have double quotes 4. Ensure proper closing brackets and bracesFor a quick validation, copy your JSON into a tool like JSONLint to identify and fix formatting issues. Sources: FAQ: Why am I seeing the "failed to parse body" error when using the HTTP API enrichment? HTTP API integration overview | Documentation | Clay University Run Apify Actor with Apify
Was that helpful?
so I have to fetch data with "person_linkedin" column what should I write
For the Input Data section in your Apify integration, you should format your JSON like this: LBKS{ "url": ##{{person_linkedin}} }LBKS
Remember these key formatting rules: ** Keep the key ("url") in double quotes
** Don't wrap the column token itself in quotes
* Ensure proper JSON structure with curly bracesWhen using column tokens (dynamic data from your Clay table), the key should be in quotes, but the token itself should not have quotes around it.
Sources:
Apify integration overview | Documentation | Clay University
Run Apify Actor with Apify
Is that what you were looking for?
in input data field in apify column
In the Input Data field, you should write your JSON like this: LBKS{ "url": ##{{person_linkedin}} }LBKS
Make sure to: ** Keep the key ("url") in double quotes
** Don't wrap the column token itself in quotes
* Use proper JSON formatting with curly braces
Sources:
Run Apify Actor with Apify
Apify integration overview | Documentation | Clay University
Was that helpful?