Convert lead to job

Converts a lead to a job by updating the lead_stage to 'Converted'. The operation can sync to both PostgreSQL database (temp_jobs table) and Monday.com via outbox events. Each sync destination can be controlled via kill switches (SYNC_TO_DATABASE and SYNC_TO_MONDAY system parameters). The function supports both UUID and Monday item ID as lead identifiers.

Language
Response
Click Try It! to start a request and see the response here!