Feature availability: Custom actions are available on Plus and Enterprise plans.
- Subscribe to our newsletter
- Enter a code from a physical product
- Watch a video
- Upload a receipt
- Fill out a survey
- Scan a QR code
- Vote on a new product idea
What you need to know
Rewarding for custom actions requires writing code as well as an understanding of Smile’s rewards architecture. For technical implementation guidance, we recommend sharing our fundamentals guide as well as our guide on rewarding for any action with your developer or agency partner.Note: Smile’s team is able to help answer questions about creating, editing, and deleting custom activity types as well as setting up related ways to earn, but unfortunately we can’t help you with API development.
Add a new custom activity type
To create a new custom activity type:- In Smile Admin, navigate to Settings > Developer tools.
- In the Custom activities card, click Create new activity type.
- Fill in the Name before completed and Name after completed fields.
- If you would like all Smile surfaces (e.g. the rewards panel, customer accounts page, etc) to directly link the customer to where they can complete the described action, check off Include a call to action and complete the fields.
- Click Create.
- Create a way to earn that relies on the activity type.
- Notify Smile when the activity occurs using our REST API or JavaScript SDK.
Edit a custom activity type
To edit an existing custom activity type:- In Smile Admin, navigate to Settings > Developer tools.
- In the Custom activities card, locate the activity type that you wish to edit.
- Beside the activity type you wish to modify, click the edit icon.
- Make the desired changes to the activity type.
- Click Update.
Delete a custom activity type
Before deleting a custom activity type, you must remove any ways to earn that rely on the activity type. If you try to delete an activity type that is being used by a way to earn, you’ll receive an error. Once you’ve confirmed the activity type is no longer in use:- In Smile Admin, navigate to Settings > Developer tools.
- In the Custom activities card, locate the activity type that you wish to delete.
- Beside the activity type you wish to remove, click the delete icon.
- Type the full name of the activity type and click Permanently delete.
Caution: Once an activity type is deleted, any API calls to notify Smile that the activity has occurred will begin failing. Be sure to update any systems sending activities to Smile before deleting the activity type itself.