import { WorkflowClient } from '@temporalio/client' ; import { httpWorkflow } from './workflows' ; async function run ( ) { const client = new WorkflowClient ( ) ; const result = await client . execute ( httpWorkflow , { taskQueue : 'activities-examples' , workflowId : 'activities-examples' , } ) ; console . log ( result ) ; } run ( ) . catch ( ( err ) => { console . error ( err ) ; process . exit ( 1 ) ; } ) ;