Smartlead Remove Lead From Campaign action bug
To troubleshoot the Smartlead "Remove Lead From Campaign" action:
Ensure you are providing both the correct Campaign ID and Lead ID, as both are required for the action to work properly. [1]
If the action is not processing or is stuck, try right-clicking the column and selecting "Force Run All Rows" to re-run the operation. [2]
If you continue to experience issues, gather details such as a summary of the bug, any error messages, and a link or screenshot of where the issue occurs. This information will help with further troubleshooting.
If you need more help, you can ask to speak to a human.
Did that answer your question?
This table: https://app.clay.com/workspaces/10589/tables/t_YRBUFKOcZ4xB/views/gv_I2SG4AL65Z4I You can check this To Email: giulia@twind.it You can see the lead id we're trying to remove exists in smartlead so it should be removed: 2637613504 We get tons of these errors when running this action: {"error":"invalid input syntax for type integer: "NaN""} And turns out many of the leads do exist in Smartlead, think this has been an ongoing issue. Can you figure out the issue and lmk when fixed?
The error "invalid input syntax for type integer: 'NaN'" means the action is sending a value of "NaN" (Not a Number) instead of a valid integer for the Lead ID. Even if the lead exists in Smartlead, this error happens if the Lead ID field in your Clay table is empty, misformatted, or not being passed correctly as a number.
If you want, you can paste the JSON body used for the action here, and I can help you troubleshoot further.
Did that answer your question?
If you still need help resolving the "Remove Lead From Campaign" action error, I’m here to assist. Would you like to provide the JSON body or more details about what you’re trying to fix?
Clay Smartlead integration doesn’t always handle Remove Lead From Campaign reliably as a workaround, remove leads directly in Smartlead or via their API instead of relying on the Clay action.
The "Remove Lead From Campaign" action in Clay’s Smartlead integration requires both Campaign ID and Lead ID to be valid text values, typically obtained from a prior lookup. If you’re seeing errors like "invalid input syntax for type integer: 'NaN'," check that your Lead ID column always contains a valid value and isn’t blank or misformatted. Make sure the column type supports text and doesn’t output "NaN" from a formula or failed lookup [1] [2].
As a workaround, you can remove leads directly in Smartlead or use their API outside of Clay. If you want to troubleshoot the JSON body, paste it here and I can help review it [3].
Did that answer your question?
If you still need additional help with the "Remove Lead From Campaign" action or want to troubleshoot the JSON body further, I’m here to assist. Would you like to provide more details about what you’re trying to resolve or understand?
.png)