Hello Team, I am trying to create apollo contacts via the template that clay have. I am trying to push values into Custom Fields that I created in apollo but the custom fields wont get populated properly. I tried to make sure that I am using the correct Custom Field Name but still no value.
There could be a few reasons why your custom fields in Apollo aren't being populated correctly: 1. Field mapping: Ensure you're using the exact custom field names from Apollo in your Clay table. Double-check for any typos or discrepancies. 2. Column names: Verify that the column names in your Clay table match the custom field names in Apollo. If there's a mismatch, the data won't be pushed correctly. 3. Field types: Make sure the field types in Clay (e.g., text, number, date) match those in Apollo to avoid errors. If you've checked these and still have issues, you might need more specific troubleshooting. Consider requesting human assistance by clicking on "Talk to a person" for a detailed review of your setup.
I am passing text to a Single Line Text
I have solved this.
Hey Michael, glad you've solved this! Marking this as closed for now but feel free to reach out if anything changes.
Michael B. How did you solve the passing of custom information? I am struggling to resolve this as well.
Hey, to get this working, start by extracting the values using a formula like this: JSON.stringify({{Find people at company by job title}}?.results?.contacts?.map(c => ({name: c?.name, organization_name: c?.organization?.name, account_name: c?.account?.name, linkedin_url: c?.linkedin_url, company_website: c?.organization?.website_url})) || []) Then, set up a Write to Other Table action. Click the list item, open the gear icon, switch to formula mode, and use: JSON.parse(/column) Replace /column with the actual column path to your new formula. If you share your table, I’m happy to take a closer look to help you debug it.
Thanks! We've reopened this thread. You can continue to add more detail directly in this thread.
Thanks! We've reopened this thread. You can continue to add more detail directly in this thread.
I’m sorry maybe i’m too knew to understand what you’re saying Bo (. I want to be able to hit the apollo api and send them a field’s information using their api, but i’m not sure how to do this. I have done what michael said he did with no success and the instructions given don’t make sense to me..
Got it—thanks for clarifying, that helps. Just to confirm, you’re looking to update a custom value using an HTTP API call. Here’s how to do this.
1. Identify the custom field you want to update. You can get a list of all custom fields using a GET request to https://api.apollo.io/api/v1/typed_custom_fields 2. Prepare your API request: 3. • Use a PUT request to update an existing contact 4. • Set the URL to https://api.apollo.io/api/v1/contacts/{contact_id} 5. • Add these headers: 6. • 'Cache-Control: no-cache' 7. • 'Content-Type: application/json' 8. • 'accept: application/json' 9. • 'x-api-key: YOUR_API_KEY' 10. In the request body, include the custom field you want to update within the "typed_custom_fields" object. 11. Send the request using your preferred method (cURL, Postman, etc.). 12. Review the API response to confirm the update was successful. Let me know if you have more questions