Settings & Configuration
The Settings page allows you to configure auto-deactivation rules and Slack notifications for the Datora Bulk Gift Cards app.
Accessing Settingsβ
- Open the Datora Bulk Gift Cards app
- Click on Settings in the navigation menu
- Make changes as needed
- Click Save to apply changes
Auto-Deactivation (Premium+)β
Auto-deactivation automatically deactivates unredeemed gift cards after a specified number of days. This is useful for expiring promotional gift cards that were never used.
Availability: Premium and Ultimate plans only.
How It Worksβ
- Enable auto-deactivation: Toggle the setting on
- Set the number of days: Choose how many days after creation a gift card should be automatically deactivated (e.g., 30, 60, 90 days)
- The system checks for eligible gift cards and deactivates any that meet the criteria
What Gets Deactivatedβ
- Only gift cards with their full balance remaining (unredeemed) are deactivated
- Partially redeemed gift cards are never auto-deactivated
- The check is based on the number of days since the gift card was created
Important Notesβ
- Deactivation is permanent: Once a gift card is deactivated, it cannot be reactivated. This action cannot be undone.
- Does NOT free up quota: Deactivating gift cards does not free up your monthly plan quota. All created cards count toward the quota regardless of their status.
- Applies to all gift cards: The auto-deactivation rule applies to all gift cards created through the app, not just specific jobs.
Configurationβ
- Navigate to Settings
- Find the Auto-Deactivation section
- Toggle Enable Auto-Deactivation on
- Enter the number of days after creation to deactivate unredeemed cards
- Click Save
Example: Setting the value to 90 days means any gift card created more than 90 days ago that still has its full balance will be automatically deactivated.
Slack Notifications (Premium+)β
Receive real-time notifications in your Slack workspace when gift card jobs complete or fail. Each notification includes a direct link to view the job in your Shopify admin.
Availability: Premium and Ultimate plans only.
Setting Up Slack Notificationsβ
Step 1: Create a Slack Appβ
- Go to https://api.slack.com/apps and sign in to your Slack workspace
- Click Create New App
- Choose From scratch
- Give the app a name (e.g., "Datora Gift Cards") and select the workspace where you want notifications
- Click Create App
Step 2: Enable Incoming Webhooksβ
- In your new Slack app's settings, navigate to Incoming Webhooks in the left sidebar
- Toggle Activate Incoming Webhooks to On
- Scroll down and click Add New Webhook to Workspace
- Select the channel where you want to receive notifications (e.g.,
#gift-cardsor#notifications) - Click Allow
- Copy the generated webhook URL β it will look like:
https://hooks.slack.com/services/T00000000/B00000000/XXXXXXXXXXXXXXXXXXXXXXXX
Important: Keep your webhook URL private. Anyone with the URL can post messages to your Slack channel.
Step 3: Configure in the Appβ
- Open the Datora Bulk Gift Cards app in your Shopify admin
- Navigate to Settings
- Find the Slack Notifications section
- Toggle Slack notifications on
- Paste your webhook URL into the Webhook URL field
Note: The URL must start with
https://hooks.slack.com/. Other URLs will be rejected.
- Click Save to store the webhook URL
- Click Test to send a test notification to your Slack channel
- Verify the test message appears in Slack β you should see:
- A green checkmark with "Test notification from Datora Bulk Gift Cards"
- Confirmation that your webhook is working correctly
Note: You must save the webhook URL before testing. The test button uses the saved URL.
What Notifications Look Likeβ
Notifications are sent automatically whenever a gift card job finishes. The format depends on the job type and outcome:
Successful Creation Jobβ
β
Job #A1B2C3D4 completed
50 gift cards created β’ 25.00 USD each β’ 1250.00 USD total
[View job in Shopify Admin]
Successful Deactivation Jobβ
β
Job #E5F6G7H8 completed
30 gift cards deactivated
[View job in Shopify Admin]
Failed Jobβ
β Job #A1B2C3D4 failed
Error message describing what went wrong
[View job in Shopify Admin]
Each notification includes a View job in Shopify Admin button that links directly to the job details page in your store.
When Notifications Are Sentβ
| Event | Notification |
|---|---|
| Gift card creation job completed | Card count, value per card, total value, currency |
| Gift card deactivation job completed | Number of cards deactivated |
| Any job failed | Error message with job details |
Notifications are not sent for:
- Jobs that are queued or in progress
- Jobs that are cancelled by the user
Disabling Slack Notificationsβ
To stop receiving Slack notifications:
- Navigate to Settings
- Toggle Slack notifications off
- Click Save
Your webhook URL is removed from the system. To re-enable later, you'll need to enter the webhook URL again.
Troubleshooting Slack Notificationsβ
Test message not arriving:
- Verify the webhook URL starts with
https://hooks.slack.com/ - Make sure you clicked Save before clicking Test
- Check that the Slack app is still installed in your workspace
- Ensure the webhook is configured for the correct channel
- Check that the channel still exists and hasn't been archived
- Try creating a new webhook URL in your Slack app settings
Notifications stopped working:
- Go to https://api.slack.com/apps and check if your app is still active
- Verify the webhook hasn't been revoked or regenerated
- Check if the Slack app was removed from your workspace
- Re-enter the webhook URL in the app settings, save, and test again
"Slack notifications require the Premium or Ultimate plan" error:
- Slack notifications are only available on Premium ($39.95/mo) and Ultimate ($99.95/mo) plans
- Upgrade your plan in the Subscriptions page to enable this feature
Need Help?β
- FAQ - Common questions
- Troubleshooting - Fix common issues
- Contact Support - Get personalized help
Next Stepsβ
- Plans & Pricing - Compare available plans