Create Data Extraction Action
Create-Action
Create Data Extraction Action
Create single data extraction actions for user intent capture.
POST
Create Data Extraction Action
Authorizations
Enter your ContactSwing JWT Bearer token.
Request Body
Action display name. Example:
My Data Extraction ActionUser prompt/description. Example:
"Trigger this action if the user requests data extraction."When to trigger:
"DURING"Action type:
"SINGLEDATAEXTRACTION"Data extraction webhook configuration
Require user response before proceeding
Data field name
User prompt/description. Example:
"user interested on buying the product"Response type:
"yes/no"Sync extracted data automatically
Target module:
"customers"Database field to store data:
"customer_timezone"Response
201 Created - Data extraction action created successfullyRequest context ID

