{ "operationId": "create-zap-guess", "method": "POST", "path": "/v2/guess", "summary": "Zapier Guess a Zap [Beta]", "requestExamples": [ { "contentType": "application/json", "name": "ZapGuessRequest", "example": { "description": "Save new leads from Facebook Lead Ads to Google Sheets, and email me the lead in Gmail" } } ], "responseExamples": [ { "status": "200", "contentType": "application/json", "name": "ZapGuessResponse", "example": { "title": "Save Facebook Lead Ads leads to Google Sheets and send an email", "steps": [ { "step": { "title": "Trigger when a new lead is created in Facebook Lead Ads", "app": "Facebook Lead Ads", "api": "FacebookLeadsAPI" }, "alternatives": [ { "title": null, "app": "LinkedIn Ads", "api": "LinkedInLeadGenFormsCLIAPI@2.7.1" } ] }, { "step": { "title": "Save the lead information to a Google Sheet", "app": "Google Sheets", "api": "GoogleSheetsV2API" }, "alternatives": [] } ], "prefilled_url": "https://api.zapier.com/v1/embed/my-app/create?steps%5B0%5D%5Bapp%5D=FacebookLeadsAPI&steps%5B0%5D%5Baction%5D=lead&steps%5B0%5D%5Btype%5D=read&steps%5B1%5D%5Bapp%5D=GoogleSheetsV2API&steps%5B1%5D%5Baction%5D=add_row&steps%5B1%5D%5Btype%5D=write&utm_campaign=partner_zap_guesser&copilot_prompt=Save+new+leads+from+Facebook+Lead+Ads+to+Google+Sheets%2C+and+email+me+the+lead+in+Gmail&partner_zap_guesser_attempt_id=22f44602-db8f-4a2a-8b09-420b0d277b5f" } }, { "status": "403", "contentType": "application/json", "name": "Create-zap-guess403Example", "example": { "errors": [ {} ] } }, { "status": "401", "contentType": "application/json", "name": "Create-zap-guess401Example", "example": { "errors": [ {} ] } }, { "status": "409", "contentType": "application/json", "name": "Create-zap-guess409Example", "example": { "errors": [ {} ] } }, { "status": "429", "contentType": "application/json", "name": "Create-zap-guess429Example", "example": { "errors": [ {} ] } }, { "status": "503", "contentType": "application/json", "name": "Create-zap-guess503Example", "example": { "errors": [ {} ] } }, { "status": "504", "contentType": "application/json", "name": "Create-zap-guess504Example", "example": { "errors": [ {} ] } }, { "status": "400", "contentType": "application/json", "name": "InvalidGuessAZapPrompt", "example": { "messages": [ { "detail": "This doesn't seem to be a workflow. You could try something like, 'When a new NFL..." } ] } }, { "status": "500", "contentType": "application/json", "name": "AServerErrorOccurred.", "example": { "errors": [ { "status": 500, "code": "error", "title": "APIException", "detail": "A server error occurred.", "source": null, "meta": { "source": "ZAPIER", "full_details": { "message": "A server error occurred.", "code": "error" } } } ] } } ] }