Need help in making bot , which can call CLaude.ai

Hi!

You can’t send a file using that activity.
Activities - Generate Text Completion
Generate text completion will just take a string input (your prompt) and then generate something as an output.

What you’re doing now is just sending the file name in the prompt.
“Extract first name, last name, gender, and email from the resume: MyResume.pdf”

To use that activity you would have to extract the text from the document and then feed it into the prompt.

See this use case from Anthropic:
Legal summarization - Anthropic

PDF seems to be in beta:
PDF support (beta) - Anthropic