function import(context, items, options) {
// create a new request
var request = context.createRequest("Users", "GET", "http://api.example.com/users");
// create a dynamic value
var dynamicValue = DynamicValue('com.luckymarmot.PawExtensions.RegexDynamicValue', {
'input':'support@paw.cloud',
'regex':'([\w\-\_\.]+)\@[\w\-\_\.]+\.\w+',
'replacement':'\1'
});
// set the dynamic value in the request header
request.setHeader("X-Login", DynamicString(dynamicValue));
}