How to use advanced settings for tasks
x-max-steps-override
header in the request. This will override the default max_steps
parameter set in the task.
totp_verification_url
when creating a task. Inside this endpoint hosted by you, you have to conform to the following schema:
Parameter | Type | Required? | Sample Value | Description |
---|---|---|---|---|
task_id | String | yes | tsk_123 | The task ID that needs the verification to be done |
Parameter | Type | Required? | Sample Value | Description |
---|---|---|---|---|
task_id | String | yes | tsk_123 | The task ID that needs the verification to be done |
verification_code | String | no | 123456 | The verification code |
totp_identifier
when creating a task. When the TOTP code arrives at your inbox or as a text message, all you need to do is to send the email/message (Gmail + Zapier integration can be a good solution to set up email forwarding) to Skyvern’s TOTP receiver endpoint (see below)
POST
Endpoint url: https://api.skyvern.com/api/v1/totp
Authentication: same as other Skyvern APIs, you need to pass your api key with the x-api-key
header.
Request data:
field | required | type | example | description |
---|---|---|---|---|
totp_identifier | yes | string | An email address or phone number which received the code | this is a required field as this is the best way for skyvern to know what the identifier |
content | yes | string | the email content of a 2FA email; the text message for the verification code | |
task_id | no | string | tsk_22222222 | used to help skyvern locate the totp code more accurately for your task |
workflow_id | no | string | wpid_12345 | used to help better locate the totp code accurately for your workflow |
source | no | string | email, phone, app, etc | |
expired_at | no | timestamp | 2024-09-18T05:15:02 | The expiration time of the code. If provided, skyvern uses it to decide if the code is valid |
Email by Zapier
New Inbound Email
in the Trigger event
selection. Click Continue
to complete the “Setup”
Webhooks by Zapier
Action event
selection. Then click “Continue”.
https://api.skyvern.com/api/v1/totp
Raw To Email
after clicking the “+” signBody Plain
after clicking the “+” signYour Skyvern API Key
A request was sent to Webhooks by Zapier
message