Can I use parameter in IdentityNow entlement?

Hi, All,
My use case:
Like to use IdentityNow to automate access management of data on Snowflake. Access control needs to be by geography – country. Have a custom-built solution in place. We execute a stored procedure with paramenters to complete the grant:
sp_grant_dataaccess “ID” “USA, CAN, UK”
as illustration.

  1. How can I define entitlement to realize it?
  2. May put the entitlement into an access profile? Can the parameters be passed from Access Profile to entitlement?

Any help/info is appreciated!